News for hackers. Stuff that matters.
Re:JSON as configuration files: please don’t (2016) by drej on Saturday April 13, 2019 @12:55PM (#19654178)
Some valid points, but the only one that pains me are comments, the rest is fine.

I don’t want to program my config files, it goes against the whole idea of configuring stuff.

JSON being JSON makes it language agnostic and easily shared (via APIs and whatnot).

And as for the changes argument - try inline commit log in a file editor (eg GitLens in VS Code). Not perfect, but it does give you some history at a glance.

(The point above is weakened by JSON’s lack of dangling comma support, so one-line changes often affect two lines).

Re:JSON as configuration files: please don’t (2016) by strags on Saturday April 13, 2019 @12:56PM (#19654188)
Switch your parsers to HJSON, and never look back :)
Re:JSON as configuration files: please don’t (2016) by drej on Saturday April 13, 2019 @01:20PM (#19654381)
Can’t. It’s either a fully standard file or something that will fail at some point.