--- source: crates/rome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json ] ``` ## AST ``` JsonRoot { value: JsonBogusValue { items: [ R_BRACK@0..1 "]" [] [], ], }, eof_token: EOF@1..1 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..1 0: JSON_BOGUS_VALUE@0..1 0: R_BRACK@0..1 "]" [] [] 1: EOF@1..1 "" [] [] ``` ## Diagnostics ``` structure_end_array.json:1:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected an array, an object, or a literal but instead found ']' > 1 │ ] │ ^ i Expected an array, an object, or a literal here > 1 │ ] │ ^ ```