3 ms·
If you need a specific exotic JSON parser to parse the numbers you have correctly, I would argue that you should serialise them as strings and not as numbers.
by speedgoose 3y ago
If you need a specific exotic JSON parser to parse the numbers you have correctly, I would argue that you should serialise them as strings and not as numbers.
That's what prometheus is doing for example. https://prometheus.io/docs/prometheus/latest/querying/api/ https://prometheus.io/docs/prometheus/latest/querying/api/
- Cloudef 3y agoThat only works if you are the one who serializes the json in the first place.