4 ms·
I am definitely a fan of INI, but (AFAIK?) it doesn't support structured data beyond simple sectioning.
by beaconstudios 8y ago
I am definitely a fan of INI, but (AFAIK?) it doesn't support structured data beyond simple sectioning.
- philwelch 8y agoConstraints are a good thing ;) You can fake it by having say, dot-delimited keys, but a lot of the complexity of config file formats come from the desire to support arbitrarily structured data when sometimes it's just as easy to fake it, not have it, or even use some templating.
- cmroanirgo 8y ago> it doesn't support structured data beyond simple sectioning Not exactly true (nor completely untrue). Look at your .gitconfig to see an example of how it can shoehorned in. Basically, it uses a .dot notation in a section header to distinguish levels. I wrote an little module a few years back that copes with structure support: https://www.npmjs.com/package/jsinf#the-format https://www.npmjs.com/package/jsinf#the-format