I have to agree with most of the criticism in this thread. The lack of comments, strict quoting, no trailing slashes - these aren't problems to fix they are features.
As others have noted this is not JSON and is not necessarily an improvement to JSON - so calling it JSON5 is presumptuous.
Embrace the criticism. Instead of JSON5 call it NotJSON - a standard that breaks the JSON rules for a few narrow use cases - namely when you want a hand-written, commented JSON-like syntax.
As others have noted this is not JSON and is not necessarily an improvement to JSON - so calling it JSON5 is presumptuous.
Embrace the criticism. Instead of JSON5 call it NotJSON - a standard that breaks the JSON rules for a few narrow use cases - namely when you want a hand-written, commented JSON-like syntax.