JsonPath is used to query and get values from JSON (ie or Javascript Object document)
It's the same concept than XPath for XML
It's a selector language for json.
Language | Equivalent Expression |
---|---|
XPath | /store/book[1]/title |
JSONPath | $.store.book[0].title |
JsonPointer | /store/book/0/title |
JQ | .store.book[0].title |
supported in idea
JMESPath is a query language for JSON that:
through a JMESPath expression.
Library: https://www.npmjs.com/package/jmespath