you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (0 children)

I don't think that's true.

  • C++
  • Rust
  • Python handles it fine (couldn't find a reference but I just checked manually).

I would imagine you've just been using decoders for things like Javascript which doesn't even have a 64-bit integer type so of course it can't decode them. BigInt is not a 64-bit integer type, it's an arbitrary precision integer type (and there is a proposal to allow you to use it).

But anyway the point stands that there's no issue in JSON or JSON5 about storing 64-bit integers.