jmespath.js
jmespath.js copied to clipboard
add support for accented characters
This small update add support for accented characters. Accented characters are allowed in JSON keys and I need them!
The isAlphaNum() function is specifically used to tokenize unquoted-string.
This PR would actually change the grammar and should be rejected.
@SDaron if you want to query JSON properties with accented characters, you should use quoted-string identifiers instead in your JMESPath expression. Something like:
search( "Àn Ïdentıfier", { "Àn Ïdentıfier": "with accented-characters" }