--- source: crates/biome_json_parser/tests/spec_test.rs expression: snapshot --- ## Input ```json { "min": -1.0e+28, "max": 1.0e+28 } ``` ## AST ``` JsonRoot { bom_token: missing (optional), value: JsonObjectValue { l_curly_token: L_CURLY@0..2 "{" [] [Whitespace(" ")], json_member_list: JsonMemberList [ JsonMember { name: JsonMemberName { value_token: JSON_STRING_LITERAL@2..7 "\"min\"" [] [], }, colon_token: COLON@7..9 ":" [] [Whitespace(" ")], value: JsonNumberValue { value_token: JSON_NUMBER_LITERAL@9..17 "-1.0e+28" [] [], }, }, COMMA@17..19 "," [] [Whitespace(" ")], JsonMember { name: JsonMemberName { value_token: JSON_STRING_LITERAL@19..24 "\"max\"" [] [], }, colon_token: COLON@24..26 ":" [] [Whitespace(" ")], value: JsonNumberValue { value_token: JSON_NUMBER_LITERAL@26..34 "1.0e+28" [] [Whitespace(" ")], }, }, ], r_curly_token: R_CURLY@34..35 "}" [] [], }, eof_token: EOF@35..35 "" [] [], } ``` ## CST ``` 0: JSON_ROOT@0..35 0: (empty) 1: JSON_OBJECT_VALUE@0..35 0: L_CURLY@0..2 "{" [] [Whitespace(" ")] 1: JSON_MEMBER_LIST@2..34 0: JSON_MEMBER@2..17 0: JSON_MEMBER_NAME@2..7 0: JSON_STRING_LITERAL@2..7 "\"min\"" [] [] 1: COLON@7..9 ":" [] [Whitespace(" ")] 2: JSON_NUMBER_VALUE@9..17 0: JSON_NUMBER_LITERAL@9..17 "-1.0e+28" [] [] 1: COMMA@17..19 "," [] [Whitespace(" ")] 2: JSON_MEMBER@19..34 0: JSON_MEMBER_NAME@19..24 0: JSON_STRING_LITERAL@19..24 "\"max\"" [] [] 1: COLON@24..26 ":" [] [Whitespace(" ")] 2: JSON_NUMBER_VALUE@26..34 0: JSON_NUMBER_LITERAL@26..34 "1.0e+28" [] [Whitespace(" ")] 2: R_CURLY@34..35 "}" [] [] 2: EOF@35..35 "" [] [] ```