> [1] The specific task of serialization over a network; for configuration files JSON or YAML (or XML) can be reasonable.
I would argue that JSON is not reasonable for configuration files that are meant to be edited by humans, because they don't support comments. It's also annoying to write JSON by hand because all keys have to be quoted.
YAML on the other hand, is a very nice configuration format.