Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow root level wildcards #4

Closed
mtdowling opened this issue Jul 6, 2013 · 2 comments · Fixed by #7
Closed

Allow root level wildcards #4

mtdowling opened this issue Jul 6, 2013 · 2 comments · Fixed by #7

Comments

@mtdowling
Copy link
Contributor

From your examples, it looks like root level wildcards are not supported.

@jamesls
Copy link
Member

jamesls commented Jul 7, 2013

Something like this?

jmespath -> '*.foo'
given -> '{"anything": {"foo": "bar"}, "other": {"foo": "baz"}, "nomatch": {"notfoo": "foo"}}'
output -> '["bar", "baz"]'

@mtdowling
Copy link
Contributor Author

Exactly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants