--- source: crates/biome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json true, ``` ## AST ``` JsonRoot { bom_token: missing (optional), value: JsonArrayValue { l_brack_token: missing (required), elements: JsonArrayElementList [ JsonBooleanValue { value_token: TRUE_KW@0..4 "true" [] [], }, 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_BOOLEAN_VALUE@0..4 0: TRUE_KW@0..4 "true" [] [] 1: (empty) 2: JSON_BOGUS_VALUE@4..5 0: COMMA@4..5 "," [] [] 2: (empty) 2: EOF@5..6 "" [Newline("\n")] [] ``` ## Diagnostics ``` true.json:1:5 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × End of file expected > 1 │ true, │ ^ 2 │ i Use an array for a sequence of values: `[1, 2]` ```