On Jun 6, 2013, at 8:21 AM, gaz Heyes wrote:

> On 6 June 2013 16:13, Allen Wirfs-Brock <[email protected]> wrote:
> Some that should be pointed out is that one reason JSON needs to accept 
> duplicate field names is that some people currently use them to add  comments 
> to JSON datasets:
> 
> {
>  "//": "This is a comment about my data",
>  "//":  "that takes more than one line",
>  "field1" : 1,
>  "field2" : 2
> }
> 
> That is totally stupid. IMO the JSON spec should support comments like // and 
> /**/ and also support single quotes for string values. It's JavaScript for 
> christ sake. It makes no sense to invent and support this crappy syntax. 

No it's not JavaScript!  It a file format for storing and interchanging data. 
Preserving existing data is a key requirement.

Allen

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

Reply via email to