--- source: crates/rome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json {"a":"b","a":"c"} ``` ## 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: JsonStringValue { value_token: JSON_STRING_LITERAL@5..8 "\"b\"" [] [], }, }, COMMA@8..9 "," [] [], JsonMember { name: JsonMemberName { value_token: JSON_STRING_LITERAL@9..12 "\"a\"" [] [], }, colon_token: COLON@12..13 ":" [] [], value: JsonStringValue { value_token: JSON_STRING_LITERAL@13..16 "\"c\"" [] [], }, }, ], r_curly_token: R_CURLY@16..17 "}" [] [], }, eof_token: EOF@17..17 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..17 0: JSON_OBJECT_VALUE@0..17 0: L_CURLY@0..1 "{" [] [] 1: JSON_MEMBER_LIST@1..16 0: JSON_MEMBER@1..8 0: JSON_MEMBER_NAME@1..4 0: JSON_STRING_LITERAL@1..4 "\"a\"" [] [] 1: COLON@4..5 ":" [] [] 2: JSON_STRING_VALUE@5..8 0: JSON_STRING_LITERAL@5..8 "\"b\"" [] [] 1: COMMA@8..9 "," [] [] 2: JSON_MEMBER@9..16 0: JSON_MEMBER_NAME@9..12 0: JSON_STRING_LITERAL@9..12 "\"a\"" [] [] 1: COLON@12..13 ":" [] [] 2: JSON_STRING_VALUE@13..16 0: JSON_STRING_LITERAL@13..16 "\"c\"" [] [] 2: R_CURLY@16..17 "}" [] [] 1: EOF@17..17 "" [] [] ```