We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Searching for a literal * with $['*'] yields the following unexpected behavior:
*
$['*']
JSONPath({json: {'*': 'star', 'rest': 'rest', 'foo': 'bar'}, path: "$['*']"}) //=> [ 'star' ] JSONPath({json: {'rest': 'rest', 'foo': 'bar'}, path: "$['*']"}) //=> [ 'rest', 'bar' ]
It's possible to work around this with $[?(@property === '*')], but this isn't usable in more complex queries, such as $[?(@property === '*'), rest]
$[?(@property === '*')]
$[?(@property === '*'), rest]
Searching for a literal
*with$['*']yields the following unexpected behavior:It's possible to work around this with
$[?(@property === '*')], but this isn't usable in more complex queries, such as$[?(@property === '*'), rest]