jp not doing the same as the playground
Open
- Dominant language
- Python
- Stars
- 786
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
input:
{"z":{"a":{"b":"c"},"g":{"b":"d"},"h":{"b":"e"},"i":{"b":"f"}}}
expression:
z.*|[?b == \`d\`]
on the playground returns:
[ { "b": "d" } ]
but on Debian 12.5 jp version 0.2.1 with:
jp --filename z.json --expr-file z.jp
returns:
Error evaluating JMESPath expression: invalid character 'd' looking for beginning of value
with return code 1.
Contributor guide
Assessment
This issue has not been assessed yet.