I'm coding using C#.
When GET request, I get json format string like
{ "code": 2312, "price": 98.322, ... }
to parse, I use System.Text.Json.JsonDocument.Parse(jsonString) function.
I think they're type-casting internally. But because of the floating-point error, I want JsonDocument.Parser to parse the string as it is.
You can also create a class and use JsonSerializer.Deserialize, but it is cumbersome because there are too many json properties.
I struggled a little to understand your error here, but from what i gathered it seems you want to process the numbers as strings, this can be done by adding options to your json serialiser: