Function: query()
query(
path
,value
):JSONPathNodeList
Query JSON value value with JSONPath expression path.
Parameters
path
string
A JSONPath expression/query.
value
The JSON-like value the JSONPath query is applied to.
Returns
A list of JSONPathNode objects, one for each value matched by path in value.
Throws
JSONPathSyntaxError If the path does not conform to standard syntax.
Throws
JSONPathTypeError If filter function arguments are invalid, or filter expression are used in an invalid way.