Replies: 1 comment
-
JavaScript has one of the most widely deployed JSON implementations in the world and is limited to doubles only. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm missing a better discussion in the docs of "widely interoperable" in the
int64-strategy
option of the JSON Schema emitter. I'm aware of the discussion of precision in RFC8259, Section 6 and, thus,Number.MAX_SAFE_INTEGER
, but that discussion assumes that an implementation chooses to store all numbers as an IEEE754 64-bit floating point number. Is there evidence for this being indeed such a common case that users are being nudged into representing any "long" as string by a "widely interoperable" claim?Beta Was this translation helpful? Give feedback.
All reactions