Conversation

Replying to and
JSON, INI, anything with syntactic structure. Oops, you missed 1 space? sorry your whole thing is broken. I've seen live systems go down because someone added 1 extra space somewhere. ofc validation etc etc, just no, no no no.
3
7
Show replies
Replying to
If your config file is just a mirror of your program’s CLI flags/args, I think you can usually get away with a simple <key> <value> or INI-style config format, and I prefer this. If you need support for objects, hierarchy, arrays, etc., YAML or TOML are much preferable to JSON.
1
2