The literal rule currently requires the contents inside `…` to be a JSON value, but it should instead allow any RFC 8259 JSON text, which allows leading and/or trailing whitespace. For example, an expression like `1 ` should be valid and result in 1 (as is in fact already the case in the live demo at the top of https://jmespath.site/ ).
The
literal
rule currently requires the contents inside`…`
to be a JSON value, but it should instead allow any RFC 8259 JSON text, which allows leading and/or trailing whitespace. For example, an expression like`1 `
should be valid and result in1
(as is in fact already the case in the live demo at the top of https://jmespath.site/ ).