2 ms·
JSON with comments would be ideal.
by Gigachad 5y ago
JSON with comments would be ideal.
- KronisLV 5y agoIn that case, you might want to have a look at JSON5: https://json5.org/ https://json5.org/ It is pretty niche, but attempts to improve upon JSON in a multitude of ways, one of which is the support for comments: https://spec.json5.org/#comments https://spec.json5.org/#comments
- emn13 5y agoWhich is why many parsers support that. I'm positive you'll find one that does so in pretty much every environment.
- cozzyd 5y agoThe libconfig format is fairly close to that, and it's great! http://hyperrealm.github.io/libconfig/libconfig_manual.html#Configuration-Files http://hyperrealm.github.io/libconfig/libconfig_manual.html#...