--- source: crates/biome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json ] ``` ## AST ``` JsonRoot { bom_token: missing (optional), value: JsonBogusValue { items: [ R_BRACK@0..1 "]" [] [], ], }, eof_token: EOF@1..1 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..1 0: (empty) 1: JSON_BOGUS_VALUE@0..1 0: R_BRACK@0..1 "]" [] [] 2: 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 │ ] │ ^ ```