--- source: crates/biome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json [ false, nul ``` ## AST ``` JsonRoot { bom_token: missing (optional), value: JsonArrayValue { l_brack_token: L_BRACK@0..2 "[" [] [Whitespace(" ")], elements: JsonArrayElementList [ JsonBooleanValue { value_token: FALSE_KW@2..7 "false" [] [], }, COMMA@7..9 "," [] [Whitespace(" ")], JsonBogusValue { items: [ IDENT@9..12 "nul" [] [], ], }, ], r_brack_token: missing (required), }, eof_token: EOF@12..12 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..12 0: (empty) 1: JSON_ARRAY_VALUE@0..12 0: L_BRACK@0..2 "[" [] [Whitespace(" ")] 1: JSON_ARRAY_ELEMENT_LIST@2..12 0: JSON_BOOLEAN_VALUE@2..7 0: FALSE_KW@2..7 "false" [] [] 1: COMMA@7..9 "," [] [Whitespace(" ")] 2: JSON_BOGUS_VALUE@9..12 0: IDENT@9..12 "nul" [] [] 2: (empty) 2: EOF@12..12 "" [] [] ``` ## Diagnostics ``` structure_unclosed_array_partial_null.json:1:10 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × String values must be double quoted. > 1 │ [ false, nul │ ^^^ structure_unclosed_array_partial_null.json:1:13 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected `]` but instead the file ends > 1 │ [ false, nul │ i the file ends here > 1 │ [ false, nul │ ```