Re:TOML: Tom's Obvious Minimal Language
by Kwpolska on Sunday May 21, 2023 @02:36PM
(#36023591)
If both sides are using a language with integer types, this is a non-issue. JSON does not prescribe the number types in use, so the implementations may just say that the field contains 64-bit integers, and just parse them to and from the usual int64 type of their language. It is also legal for JSON parsers to parse numeric literals into an arbitrary-precision decimal type instead of IEEE 574 floats.
[ Parent
| on HN ]
There are no comments on this comment yet.