Hacker News new | ask | show | jobs
by PurpleRamen 1173 days ago
Comments are simple to parse, but preserving them on the dump is complex. I guess they were sacrificed for the simplicity.
2 comments

They 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.

That’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.