jmespath / jmespath.py

JMESPath is a query language for JSON.

Home Page:http://jmespath.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update readme with supported/unsupported jmespath constructs

kbroughton opened this issue · comments

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.