3 ms·
Provided a rich range of integer types, with specifications in the standard. Leaving it unspecified is really the worst choice if you trying to interoperate wi
by rwmj 13y ago
Provided a rich range of integer types, with specifications in the standard. Leaving it unspecified is really the worst choice if you trying to interoperate with real applications and libraries. Supporting "what they can" is great for crappy implementations, and terrible if you're trying to consume this stuff and get work done.
- haberman 13y agoA "rich range" of anything is contrary to the spirit of JSON. JSON became popular in part because it was a much simpler contrast to technologies like XML that provided a "rich range" of everything. Leaving it unspecified means that JSON as a format is capable of arbitrary precision, without requiring that implementations carry around bignum libraries if their particular application doesn't need them.