ietf
[Top] [All Lists]

Re: [Json] Consensus on JSON-text (WAS: JSON: remove gap between Ecma-404 and IETF draft)

2013-11-28 10:17:04

On 28 Nov 2013, at 05:51, Tim Berners-Lee <timbl(_at_)w3(_dot_)org> wrote:

JSON is interesting in being a subset of ECMAscript.  

That was a clever device used by Douglas Crockford to minimize the bike 
shedding that was inevitable when he designed the data format.  That device is 
no longer necessary, indeed, it has become a liability as ECMAscript moved 
forward.

That is a big dependency -- will it be preserved?

There is no dependency any more, and the subset relationship has already been 
destroyed by the introduction of Line/Paragraph separators (U+2028/U+2029) in 
recent versions of ECMAscript (these are valid in JSON strings but not in 
ECMAscript 5 strings).

It is best to acknowledge the role of JavaScript as the inspiration for the 
JSON data interchange format (and one of its biggest customers), but otherwise 
consider the two specifications independent of each other.

Grüße, Carsten