2 ms·
> Still don't get the hang up about comments with JSON. I'd find it strange to encounter a config file with lots of internal documentation. A lot of mainstream
by u801e 7y ago
> Still don't get the hang up about comments with JSON. I'd find it strange to encounter a config file with lots of internal documentation.
A lot of mainstream applications come with documentation in the sample config file that explains what each setting does and what its default value is. For example, this is the default configuration for redis[1].
Having that information in the config file guides users in terms of what's possible to change and what values can be used.
[1] https://raw.githubusercontent.com/antirez/redis/5.0/redis.conf https://raw.githubusercontent.com/antirez/redis/5.0/redis.co...