3 ms·
Then use json5. Super weak excuse. Or use yaml or some other format and pipe it into some to-json converter. Also, json has json schema which tools like VS Cod
by always_good 8y ago
Then use json5. Super weak excuse. Or use yaml or some other format and pipe it into some to-json converter.
Also, json has json schema which tools like VS Code support. They can autocomplete your config. Pretty promising over most other tooling.
But coming up with your own config has pretty much all the downsides. Yeah, you can invent some cuter syntax. But now your users can't even get syntax highlighting in their editor. Awful UX.
- cyphar 8y agoJSON5's support for unquoted keys seems like a misfeature. Not to mention that (by its nature) it has the same (lack of) support burden as any other new configuration format. If you're going to go through that frustration and incompatibility, why not pick something better suited to the job?
- giancarlostoro 8y ago> JSON5's support for unquoted keys seems like a misfeature. Seen plenty of JSON without quoted keys before that just seemed to work, so depends on parser.