2 ms·
JSON5 does, but most software just does plain and simple JSON. I haven't seen it used outside some Javascript webdev environments. The JSON5 docs also seem to b
by jeroenhd 3y ago
JSON5 does, but most software just does plain and simple JSON. I haven't seen it used outside some Javascript webdev environments. The JSON5 docs also seem to be specifically targeting Javascript development.
If you're sticking to certain variants, you may as well use YAML, which supports JSON notation, as well as comments and various other improvements.
- mianos 3y agoIf you use python, there is an excellent json5 module. But true, it may not be as well supported by other languages. I am not sure I may as well be using yaml. I don't like it for the multiple reasons in the OP and this thread. If you are using python, I have found it to be quite easy to support both json5 and yaml, as well as converting between them for people who feel strongly about yaml. Not trivial but low effort.