3 ms·
Comments are simple to parse, but preserving them on the dump is complex. I guess they were sacrificed for the simplicity.
by PurpleRamen 4y ago
Comments are simple to parse, but preserving them on the dump is complex. I guess they were sacrificed for the simplicity.
- rqtwteye 4y agoThat’s a good point. It would be hard to read the JSON, modify it and then write back with comments. But you still should have the option to at least ignore them while reading. That would make JSON config files so much better to work with.
- Marazan 4y agoThey were excluded so people wouldn't use them to insert meta-processing instructions into the JSON doc. In reality people insert those meta-processing instructions in other ways.