Link to home
Start Free TrialLog in
Avatar of Anthony Lucia
Anthony Lucia

asked on

JSONPAth and Conditional statements WITH JavaScript

In a previous thread I asked how to handle JSON and conditional
statemetns without JavaScript.  In this thread I would like
to ask how to use conditional statements WITH JavaScript

I have been reading this site:

    http://goessner.net/articles/JsonPath/

Open in new window


and using this tester:

    http://jsonpath.curiousconcept.com/

Open in new window


On the tester I use the following JSON Data

    { "identification" : "AAA" }

Open in new window


But I can not find an expression that will return a boolean
for what I am writing in PSEUDO CODE below

    $.identification = 'AAA'

Open in new window



I have 1 question

How would I perform this within JavaScript

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Tom Beck
Tom Beck
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial