I wish JSON5 was more popular
evertpot.com
evertpot.com
- Arrays may have a single trailing comma.
- Strings may be single quoted.
- Single and multi-line comments are allowed.
Then starts falling apart implementing things that aren’t even legal in JavaScript. Calling itself JSON-anything and not being literally compatible with JavaScript notation is just… an unforgivable cardinal sin.
Yes, but to nitpick how about `.config` instead? If only because it's reminiscent of the default XDG_CONFIG_HOME relative location
It is not perfect, not by any means. But it really does hit a sweet spot of things and mostly stops you from shooting yourself in the foot.