--- source: crates/rome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json { "a": "b" } ``` ## AST ``` JsonRoot { value: JsonObjectValue { l_curly_token: L_CURLY@0..1 "{" [] [], json_member_list: JsonMemberList [ JsonMember { name: JsonMemberName { value_token: JSON_STRING_LITERAL@1..5 "\"a\"" [Newline("\n")] [], }, colon_token: COLON@5..7 ":" [] [Whitespace(" ")], value: JsonStringValue { value_token: JSON_STRING_LITERAL@7..10 "\"b\"" [] [], }, }, ], r_curly_token: R_CURLY@10..12 "}" [Newline("\n")] [], }, eof_token: EOF@12..12 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..12 0: JSON_OBJECT_VALUE@0..12 0: L_CURLY@0..1 "{" [] [] 1: JSON_MEMBER_LIST@1..10 0: JSON_MEMBER@1..10 0: JSON_MEMBER_NAME@1..5 0: JSON_STRING_LITERAL@1..5 "\"a\"" [Newline("\n")] [] 1: COLON@5..7 ":" [] [Whitespace(" ")] 2: JSON_STRING_VALUE@7..10 0: JSON_STRING_LITERAL@7..10 "\"b\"" [] [] 2: R_CURLY@10..12 "}" [Newline("\n")] [] 1: EOF@12..12 "" [] [] ```