jmespath / jmespath.py

JMESPath is a query language for JSON.
http://jmespath.org
MIT License
2.19k stars 181 forks source link

update readme with supported/unsupported jmespath constructs #207

Open kbroughton opened 4 years ago

kbroughton commented 4 years ago

It would be nice to know in advance what parts of the jmespath spec are supported.

jq allows top level dots. So echo '{"foo": "bar"}' | jq '.foo bar

Also echo '{"a": "b", "c": "d"}' | jq '[.a, .c]' works in jq.

But jmespath parser complains that the '.' is an invalid character. This seems to be only the case when it starts a pattern expression.