4 ms·
Ideally no, but with JSON being used as a configuration file format and being written by humans, I don't think we have much of a choice.
by emptyparadise 6y ago
Ideally no, but with JSON being used as a configuration file format and being written by humans, I don't think we have much of a choice.
- whizzter 6y agoMany JSON parsers has flags to enable comment parsing (and someone went ahead and made a "standard" called JWCC that seems to be more or less what these parsers accept) I think that is a good tradeoff, JSON being strict for data interop with the possibility of enabling comments for those cases where people use it for configuration (and specifying it as JWCC)