JSON parser grammar

Waldemar Horwat waldemar at google.com
Wed Jun 3 18:25:20 PDT 2009


Douglas Crockford wrote:
> Waldemar Horwat wrote:
>> OK, so we need not discuss any new numeric types any further in 
>> committee because it would be impossible to round-trip them through 
>> JSON.  Do we have agreement on that?
> 
> Not necessarily. What we can agree on is that new numeric types cannot 
> impose changes on the JSON syntax.

Which means that it would be impossible to round-trip them through JSON.  Anything that uses the existing syntax already has a set interpretation as an existing ECMAScript object.

    Waldemar


More information about the es-discuss mailing list