jmespath / jmespath.site

The repo for the jmespath.org website.
http://jmespath.org/
Apache License 2.0
56 stars 51 forks source link

Is space supported in key? #78

Closed qwordy closed 1 year ago

qwordy commented 4 years ago

If I use

[?a.b c==`value`].a

it will report an error. May I know how to select "b c"? Look forward to your answer.

Minitour commented 3 years ago

@qwordy Hi,

You can just use double quotes to wrap the key.

[? a."b c" == `value`].a

should work fine