--- source: crates/rome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json {"asd":"sdf", "dfg":"fgh"} ``` ## AST ``` JsonRoot { value: JsonObjectValue { l_curly_token: L_CURLY@0..1 "{" [] [], json_member_list: JsonMemberList [ JsonMember { name: JsonMemberName { value_token: JSON_STRING_LITERAL@1..6 "\"asd\"" [] [], }, colon_token: COLON@6..7 ":" [] [], value: JsonStringValue { value_token: JSON_STRING_LITERAL@7..12 "\"sdf\"" [] [], }, }, COMMA@12..14 "," [] [Whitespace(" ")], JsonMember { name: JsonMemberName { value_token: JSON_STRING_LITERAL@14..19 "\"dfg\"" [] [], }, colon_token: COLON@19..20 ":" [] [], value: JsonStringValue { value_token: JSON_STRING_LITERAL@20..25 "\"fgh\"" [] [], }, }, ], r_curly_token: R_CURLY@25..26 "}" [] [], }, eof_token: EOF@26..26 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..26 0: JSON_OBJECT_VALUE@0..26 0: L_CURLY@0..1 "{" [] [] 1: JSON_MEMBER_LIST@1..25 0: JSON_MEMBER@1..12 0: JSON_MEMBER_NAME@1..6 0: JSON_STRING_LITERAL@1..6 "\"asd\"" [] [] 1: COLON@6..7 ":" [] [] 2: JSON_STRING_VALUE@7..12 0: JSON_STRING_LITERAL@7..12 "\"sdf\"" [] [] 1: COMMA@12..14 "," [] [Whitespace(" ")] 2: JSON_MEMBER@14..25 0: JSON_MEMBER_NAME@14..19 0: JSON_STRING_LITERAL@14..19 "\"dfg\"" [] [] 1: COLON@19..20 ":" [] [] 2: JSON_STRING_VALUE@20..25 0: JSON_STRING_LITERAL@20..25 "\"fgh\"" [] [] 2: R_CURLY@25..26 "}" [] [] 1: EOF@26..26 "" [] [] ```