Path.match

Matches the JSON tree pointed by root using the expression compiled into the json.path.Path.

The nodes matching the expression will be copied into an array.

Parameters

root json.node.Node

the root node of the JSON data to match

Return Value

Type: json.node.Node

a newly-created node of type json.types.NodeType.Array containing the array of matching nodes