Re:JSON as configuration files: please don’t (2016)
by viklove on Saturday April 13, 2019 @10:11PM
(#19657126)
I don't understand why people think JSON is a bad format for humans. The ability to write invalid JSON is very hard, and doing so will result in JSON parse errors. Take YAML on the other hand -- simply omitting a dash can result in unintended consequences that will parse just fine:
vs
When you're staring at a non-trivial YAML file, it's very hard to spot these errors, and you'll potentially get some very weird behavior in whatever is depending on the config.
[ Parent
| on HN ]
Re:JSON as configuration files: please don’t (2016)
by bradleyjg on Saturday April 13, 2019 @10:22PM
(#19657165)
Not as bad as YAML isn’t much of an endorsement.