Remix.run Logo
craftkiller 18 hours ago

> JSON numbers are too often encoded as strings

There's a good reason for that, since JSON comes from JavaScript, many JSON parsers treat numbers as double-precision floats. By encoding your number as a string, you ensure that the JSON parser has not modified your number.

https://blog.json-everything.net/posts/numbers-are-numbers-n...