On 6 June 2013 16:13, Allen Wirfs-Brock <al...@wirfs-brock.com> 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.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to