--- source: crates/biome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json {"a": ``` ## AST ``` JsonRoot { bom_token: missing (optional), 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: missing (required), }, ], r_curly_token: missing (required), }, eof_token: EOF@5..5 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..5 0: (empty) 1: JSON_OBJECT_VALUE@0..5 0: L_CURLY@0..1 "{" [] [] 1: JSON_MEMBER_LIST@1..5 0: JSON_MEMBER@1..5 0: JSON_MEMBER_NAME@1..4 0: JSON_STRING_LITERAL@1..4 "\"a\"" [] [] 1: COLON@4..5 ":" [] [] 2: (empty) 2: (empty) 2: EOF@5..5 "" [] [] ``` ## Diagnostics ``` object_missing_value.json:1:6 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected an array, an object, or a literal but instead found the end of the file. > 1 │ {"a": │ i Expected an array, an object, or a literal here. > 1 │ {"a": │ ```