4 ms·
> But as a configuration format, for example the package.json file for node/npm/yarn, it is most definitely not "good enough". Then perhaps don't use it for a
by throw0101a 5y ago
> But as a configuration format, for example the package.json file for node/npm/yarn, it is most definitely not "good enough".
Then perhaps don't use it for a use case it was not designed to address? I understand that JSON is a very handy hammer to have, but not all things are nails.
- thayne 5y agoThat's kind of my point. JSON5 is a much better for configuration than JSON.
- moomin 5y agoI mean, that’s all very well, but it’s literally one of only two formats with native support in the browser. So there’s plenty of times you don’t really have any choice other than to hammer that screw in.