File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -650,6 +650,15 @@ literal = "`" json-text "`" ;; # Literal Expressions
650
650
; ; literal values. Note that the \` character must now be escaped in a json-value which means implementations need to
651
651
; ; handle this case before passing the resulting string to a JSON parser.
652
652
; ;
653
+ ; ; ```note
654
+ ; ; When [JEP-12](https://github.com/jmespath-community/jmespath.spec/blob/main/jep-012-raw-string-literals.md) was introduced,
655
+ ; ; the `literal` rule has been changed to more strictly follow the JSON specification.
656
+ ; ; As a result, the _legacy_ syntax using strings with elided quotes `` `foo` `` was being deprecated and users
657
+ ; ; were encouraged to either use `raw-string` literals or use the more compliant `` `"foo"` `` syntax instead.
658
+ ; ;
659
+ ; ; In this version of the specification, _legacy_ syntax is now fully deprecated.
660
+ ; ; ```
661
+ ; ;
653
662
; ; ## Examples
654
663
; ; ```
655
664
; ; search(`"foo"`, "anything") -> "foo"
You can’t perform that action at this time.
0 commit comments