4 ms·
> Are there obvious downsides to JSON for config that I'm missing? for me, there are two. firstly, TOML supports comments. secondly, TOML or INI is very reada
by woodrowbarlow 8y ago
> Are there obvious downsides to JSON for config that I'm missing?
for me, there are two. firstly, TOML supports comments.
secondly, TOML or INI is very readable without indentation. i have learned that removing indentation from configuration files makes non-technical people much more comfortable editing the file by hand. when many non-technical people see braces and indentation, they feel overwhelmed and associate it with complexity.
i don't really use TOML's more advanced features, though. i basically just use it like INI.