Cross Language Parity
When two implementations in different languages must parse the same JSON number into identical fixed-point (e.g. cents) values, parse the number's canonical string form — JS `Number.prototype.toString()` and Rust serde_json's `Number` Display emit byte-identical strings, including scientific notation for |v|<1e-6 and |v|>=1e21 — but beware that JS yields negative zero (`-0`) where integer-based code yields `0`, a silent divergence the equality test must catch.
json-parsingfloating-pointfixed-pointcross-language+4
DRdrgoraJun 22, 2026
3 uses0/085%