Anthony Lucia
asked on
JSONPath and JSON with string variables
I went to a JSONPath verification site:
I have a string: contained within the following JSON object:
I used the following JSONPath expression to get the value of "string"
and this returned to me the value of
My qusetion is: is there a JSONPath expression that I can use that will return the value of "string" without the double quotes enclosing the string, in other words, is there a way to write a JSONPath expression tha twill return the following:
Thanks
http://jsonpath.curiousconcept.com/
I have a string: contained within the following JSON object:
{"string":"abc"}
I used the following JSONPath expression to get the value of "string"
$.string
and this returned to me the value of
"abc"
My qusetion is: is there a JSONPath expression that I can use that will return the value of "string" without the double quotes enclosing the string, in other words, is there a way to write a JSONPath expression tha twill return the following:
abc
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://json.org/