--- source: crates/biome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json /*leading*/ [1,true] // trivial ``` ## AST ``` JsonRoot { bom_token: missing (optional), value: JsonArrayValue { l_brack_token: L_BRACK@0..13 "[" [Comments("/*leading*/"), Whitespace(" ")] [], elements: JsonArrayElementList [ JsonNumberValue { value_token: JSON_NUMBER_LITERAL@13..14 "1" [] [], }, COMMA@14..15 "," [] [], JsonBooleanValue { value_token: TRUE_KW@15..19 "true" [] [], }, ], r_brack_token: R_BRACK@19..31 "]" [] [Whitespace(" "), Comments("// trivial")], }, eof_token: EOF@31..32 "" [Newline("\n")] [], } ``` ## CST ``` 0: JSON_ROOT@0..32 0: (empty) 1: JSON_ARRAY_VALUE@0..31 0: L_BRACK@0..13 "[" [Comments("/*leading*/"), Whitespace(" ")] [] 1: JSON_ARRAY_ELEMENT_LIST@13..19 0: JSON_NUMBER_VALUE@13..14 0: JSON_NUMBER_LITERAL@13..14 "1" [] [] 1: COMMA@14..15 "," [] [] 2: JSON_BOOLEAN_VALUE@15..19 0: TRUE_KW@15..19 "true" [] [] 2: R_BRACK@19..31 "]" [] [Whitespace(" "), Comments("// trivial")] 2: EOF@31..32 "" [Newline("\n")] [] ```