3 ms·
A few issues (although I do use JSON in config): It isn't a friendly form of human input. My error rate is 50%+ , you have to lint on save to catch things that
by nikcub 14y ago
A few issues (although I do use JSON in config):
It isn't a friendly form of human input. My error rate is 50%+ , you have to lint on save to catch things that are invisible to the naked eye
No ability to override, extend or reference keys. This is most useful in config objects where for eg. in a dev object you want to override the username and password for a database connection but not repeat all the other parameters
No comments
- rogerbinns 14y agoYou can override in pretty much the same way TOML does. Instead of replacing an underlying object, you update it with the values read from JSON.