Queries a JSON tree using a JSONPath expression.
This function is a simple wrapper around [[email protected]], [[email protected]], and [[email protected]]. It implicitly creates a `JsonPath` instance, compiles the given expression and matches it against the JSON tree pointed by `root`.
expression |
a JSONPath expression |
root |
the root of a JSON tree |
a newly-created node of type `JSON_NODE_ARRAY` containing the array of matching nodes |