Adding a few more JS features to JSON would help usability.
The JSON5 Data Interchange Format (json5.org)"The JSON5 Data Interchange Format (JSON5) is a superset of JSON that aims to alleviate some of the limitations of JSON by expanding its syntax to include some productions from ECMAScript 5.1.
Similar to JSON, JSON5 can represent four primitive types (strings, numbers, Booleans, and null) and two structured types (objects and arrays)."
: : : : : : : : : :
JSON5#parse x 327 ops/sec ±6.58% (31 runs sampled) JSON#parse x 5,940 ops/sec ±5.23% (76 runs sampled) JSON5#stringify x 1,270 ops/sec ±1.38% (85 runs sampled) JSON#stringify x 13,748 ops/sec ±2.06% (84 runs sampled)