$parser
$parser :
Uses an external tree visitor to interpret an AST.
__construct(\JmesPath\Parser $parser = null, callable $fnDispatcher = null)
| \JmesPath\Parser | $parser | |
| callable | $fnDispatcher |
__invoke(string $expression, mixed $data) : mixed
Returns data from the provided input that matches a given JMESPath expression.
| string | $expression | JMESPath expression to evaluate |
| mixed | $data | Data to search. This data should be data that is similar to data returned from json_decode using associative arrays rather than objects. |
Returns the matching data or null