--- source: crates/rome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json * ``` ## AST ``` JsonRoot { value: JsonBogusValue { items: [ ERROR_TOKEN@0..1 "*" [] [], ], }, eof_token: EOF@1..1 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..1 0: JSON_BOGUS_VALUE@0..1 0: ERROR_TOKEN@0..1 "*" [] [] 1: EOF@1..1 "" [] [] ``` ## Diagnostics ``` structure_single_star.json:1:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × unexpected character `*` > 1 │ * │ ^ ```