--- source: crates/rome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json {"a":[]} ``` ## AST ``` JsonRoot { value: JsonObjectValue { l_curly_token: L_CURLY@0..1 "{" [] [], json_member_list: JsonMemberList [ JsonMember { name: JsonMemberName { value_token: JSON_STRING_LITERAL@1..4 "\"a\"" [] [], }, colon_token: COLON@4..5 ":" [] [], value: JsonArrayValue { l_brack_token: L_BRACK@5..6 "[" [] [], elements: JsonArrayElementList [], r_brack_token: R_BRACK@6..7 "]" [] [], }, }, ], r_curly_token: R_CURLY@7..8 "}" [] [], }, eof_token: EOF@8..8 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..8 0: JSON_OBJECT_VALUE@0..8 0: L_CURLY@0..1 "{" [] [] 1: JSON_MEMBER_LIST@1..7 0: JSON_MEMBER@1..7 0: JSON_MEMBER_NAME@1..4 0: JSON_STRING_LITERAL@1..4 "\"a\"" [] [] 1: COLON@4..5 ":" [] [] 2: JSON_ARRAY_VALUE@5..7 0: L_BRACK@5..6 "[" [] [] 1: JSON_ARRAY_ELEMENT_LIST@6..6 2: R_BRACK@6..7 "]" [] [] 2: R_CURLY@7..8 "}" [] [] 1: EOF@8..8 "" [] [] ```