JSON5E - JSON5 for Humans

9 points by borisk


vrolfs

I'm the opposite, I feel like JSON5 is doing too much. To me, the only crucial things which are missing from JSON are:

  1. Trailing commas
  2. Comments
  3. Unquoted keys

JSON5 fixes all that, but also adds single quoted strings, hexadecimal numbers, NaN, Infinity, multi-line strings and more, which is too much for my taste.

But despite this, I still think JSON5 is the best general-purpose config/data exchange format.