--- source: crates/rome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json "\UA66D" ``` ## AST ``` JsonRoot { value: JsonBogusValue { items: [ ERROR_TOKEN@0..8 "\"\\UA66D\"" [] [], ], }, eof_token: EOF@8..8 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..8 0: JSON_BOGUS_VALUE@0..8 0: ERROR_TOKEN@0..8 "\"\\UA66D\"" [] [] 1: EOF@8..8 "" [] [] ``` ## Diagnostics ``` string_unicode_CapitalU.json:1:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected an array, an object, or a literal but instead found '"\UA66D"' > 1 │ "\UA66D" │ ^^^^^^^^ i Expected an array, an object, or a literal here > 1 │ "\UA66D" │ ^^^^^^^^ string_unicode_CapitalU.json:1:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Invalid escape sequence > 1 │ "\UA66D" │ ^^ i Valid escape sequences are: `\\`, `\/`, `/"`, `\b\`, `\f`, `\n`, `\r`, `\t` or any unicode escape sequence `\uXXXX` where X is hexedecimal number. ```