4 ms·
JSONSchema has a date, time and date-time format in its latest versions. The rationale for not including comments in a data exchange format is that they tend t
by pa7x1 6y ago
JSONSchema has a date, time and date-time format in its latest versions.
The rationale for not including comments in a data exchange format is that they tend to be used for parsing and processing meta information which breaks the purpose of the data exchange format in the first place.
I don't know where the obsession to use the same file format for everything comes from, the lack of comment support in JSON makes it a bad configuration file format. That's OK, don't use it. We have .ini and TOML (and YAML if you like it rough), why not use those that are a better fit for purpose?