4 ms·
> really what I want is JSON with comments and multiline strings for the "human reader/writer" use case Sounds like you want json5: https://json5.org/ https://
by jle17 6y ago
> really what I want is JSON with comments and multiline strings for the "human reader/writer" use case
Sounds like you want json5: https://json5.org/ https://json5.org/
It also has the "Arrays may have a single trailing comma." feature which is a pain to not have in json.
- throwaway894345 6y agoOh yeah, I forgot to include the trailing comma in my list of wants. But yes, I probably want something like json5, albeit it would be nice if it had the traction that YAML and company enjoy. One problem with most of these JSON++ dialects is that they tack on a bunch of low-value features like single-quoted strings and unqouted keys that complicate building parsers and facilitate stylistic differences.