Matches the JSON tree pointed by `root` using the expression compiled into the `JsonPath`.
The nodes matching the expression will be copied into an array.
this |
a compiled path |
root |
the root node of the JSON data to match |
a newly-created node of type `JSON_NODE_ARRAY` containing the array of matching nodes |