News for hackers. Stuff that matters.
Re:JSON5 is a proposed extension to JSON by wisty on Sunday March 02, 2014 @12:09AM (#7327801)
Or you can do this:

config = { "version": "1.0", "comment": "JSON has comments too!" }

Re:JSON5 is a proposed extension to JSON by jawngee on Sunday March 02, 2014 @02:55AM (#7328195)
I hope you're joking.
Re:JSON5 is a proposed extension to JSON by kgabis on Sunday March 02, 2014 @03:01AM (#7328209)
Why? It's a valid solution.
Re:JSON5 is a proposed extension to JSON by lowboy on Sunday March 02, 2014 @03:32AM (#7328299)
Mixing metadata in with data isn't ideal.
Re:JSON5 is a proposed extension to JSON by yxhuvud on Sunday March 02, 2014 @05:39AM (#7328632)
Mixing metadata with a serialization format isn't ideal. Want metadata? Use a markup language.
Re:JSON5 is a proposed extension to JSON by coldtea on Sunday March 02, 2014 @08:05AM (#7329001)
Actually it is. Then you can treat them the same way.

And since it's a configuration format, you know what keys are accepted and what keys are for the metadata, and thus won't clash.

Re:JSON5 is a proposed extension to JSON by zimbatm on Sunday March 02, 2014 @07:40AM (#7328939)
But metadata is also data.
Re:JSON5 is a proposed extension to JSON by arunoda on Sunday March 02, 2014 @03:10AM (#7328233)
this is what is recommended for package.json in node. Specially "//" as the key.
Re:JSON5 is a proposed extension to JSON by mpyne on Sunday March 02, 2014 @10:40PM (#7331919)
That's what we did for some of our KDE build infrastructure metadata, since there was no way I was using YAML if I could avoid it for something this simple.