←back to thread

Fixing JSON

(www.tbray.org)
139 points robin_reala | 1 comments | | HN request time: 0.24s | source
1. rurban ◴[] No.12328114[source]
Mandatory double-quotes for keys just to get rid of required commas does not make it better.

There are better relaxed JSON's available than this one:

* https://hjson.org/ does not need those double quotes and can handle without commas just fine.

* https://github.com/phadej/relaxed-json also allows comments, trailing commas, simplier strings as in YAML.

* RJSON http://search.cpan.org/~miko/JSON-Relaxed-0.03/lib/JSON/Rela... is similar.