by Groxx · 15y ago · 0 comments
{"key":"value" // comment
or
{
// comment
"key":"value"
Which I find wholly acceptable (though poorly supported).I'd think this problem of comments in JSON requires a solution that is part of the JSON specifications rather than dependent on individual parsers implementations.
Or perhaps JSON only really shines as a data interchange format and not much else.