--- source: crates/biome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json null, ``` ## AST ``` JsonRoot { bom_token: missing (optional), value: JsonArrayValue { l_brack_token: missing (required), elements: JsonArrayElementList [ JsonNullValue { value_token: NULL_KW@0..4 "null" [] [], }, missing separator, JsonBogusValue { items: [ COMMA@4..5 "," [] [], ], }, ], r_brack_token: missing (required), }, eof_token: EOF@5..6 "" [Newline("\n")] [], } ``` ## CST ``` 0: JSON_ROOT@0..6 0: (empty) 1: JSON_ARRAY_VALUE@0..5 0: (empty) 1: JSON_ARRAY_ELEMENT_LIST@0..5 0: JSON_NULL_VALUE@0..4 0: NULL_KW@0..4 "null" [] [] 1: (empty) 2: JSON_BOGUS_VALUE@4..5 0: COMMA@4..5 "," [] [] 2: (empty) 2: EOF@5..6 "" [Newline("\n")] [] ``` ## Diagnostics ``` null.json:1:5 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × End of file expected > 1 │ null, │ ^ 2 │ i Use an array for a sequence of values: `[1, 2]` ```