On Jun 6, 2013, at 8:45 AM, Anne van Kesteren wrote:

> On Thu, Jun 6, 2013 at 4:29 PM, Allen Wirfs-Brock <[email protected]> 
> wrote:
>> No it's not JavaScript!  It a file format for storing and interchanging
>> data. Preserving existing data is a key requirement.
> 
> Nevertheless, enhancing it with sensible comment syntax would be
> great. But as you said, there's a different list for that.

>From an ECMAScript perspective, the way to get a JSON comment syntax in place 
>would be to first added it to JSON.parse in the ES spec. and get it deployed 
>in browsers.  Starting by adding it to the JSON RFC is just going to suggest 
>to people that they can use use comments in their JSON datasets when in fact 
>the most widely deployed browser-based parsers won't accept them.  Of course, 
>getting support in parsers hosted by other languages is a whole different 
>matter.

Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to