Can someone explain why people want to use a data-interchange format like JSON for configuration files, rather than using a configuration file format like TOML? I've never understood why people want to use JSON for config files.
I know it's supposed to be a config format, but it only seems to make any sense for INI-like configs that are little more than a flat key-value map.
The places I see people using JSON/YAML/etc for config are much more likely to have nested structures that would be extremely awkward to represent in TOML. I think YAML was on the right track, and if you ignore the messier parts of the spec it works pretty well.
I personally don't mind YAML all that much either, although the spec is pretty large.
toml requires you track down a toml parser, at the very least
Maybe that's an argument for languages to start adding some configuration format other than XML into their standard libs.