3 ms·
What if the integer exceeds the maximum allowed on 32 bit machines and you try to decode the JSON?
by wise_young_man 12y ago
What if the integer exceeds the maximum allowed on 32 bit machines and you try to decode the JSON?
- djtriptych 12y agoThat has nothing to do with JSON, which allows numbers of arbitrary size.
- paulhallett 12y agoThis is mostly just a typo in the examples I put, but I will consider using only strings for this type of stuff, to avoid issues.
- idlewan 12y agoGiven the dataset you have to serve, I don't think you'll be having any issues if most of the JSON parsers give you 32bit integers.