You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find that I am in need of this feature, because I often want to do "give me the parents of the children that match this expression", which is something XPath can do, but JSONPath does not. Getting the paths is an easy way to work around a shortcoming.
The text was updated successfully, but these errors were encountered:
The javascript jsonPath tool can support results as values or paths:
So that when we're using the data:
and you query:
you get the expected results:
If you run the very same query, with the path result type, you see where these results came from:
You can see this feature in action here: http://jsonpath.com/
I find that I am in need of this feature, because I often want to do "give me the parents of the children that match this expression", which is something XPath can do, but JSONPath does not. Getting the paths is an easy way to work around a shortcoming.
The text was updated successfully, but these errors were encountered: