Re: [xml-dev] The JSON Data Interchange Format (ECMA standard, October 2013)

From
Michael Kay <>
To
David Lee <>
Date
2013-10-17T13:33:12Z
ID
<>
Thread
Re: [xml-dev] The JSON Data Interchange Format (ECMA standard, October 2013)
On 17 Oct 2013, at 14:16, David Lee wrote:

> I would find it humors, if it were not so true, so I find it sad that the people writing this actually belive it.
> 
> That the JSON representation of numbers is sufficient for data interchange ... 
> -->  Simple integers like anything greater then 2^53 cannot be represented in JSON.  

That's not correct. Neither the spec at www.json.org, nor the new ECMA spec, nor RFC 4627, imposes any limit on the size of a number. There may be JSON implementations that impose limits, just as some XML implementations may impose limits on the size of an xs:integer value, but that's their choice.

Michael Kay
Saxonica