Hacker News new | ask | show | jobs
by noctune 1207 days ago
JSON supports numbers of arbitrary and just fine. It's just many reader/writers of JSON does not, and those are so ubiquitous that it's often not practical to use.
2 comments

Unfortunately in practice you can’t rely on large numbers being passed through correctly because of this, unless you control both ends and don’t use js.
AFAIK, json does not support NaN and Inf which can be a pain sometimes