jmespath / jmespath/jp

jp not doing the same as the playground

Open
#50 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.