Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For something that wasn't meant to be interacted with by humans on the regular, I can see why you wouldn't include comments.


Classic mistake. The creators of JSON thought the same thing, and that decision is here forever to annoy us.


Human interaction with JS kinda sucks regardless. It's a good lowest common denominator of data, that is somewhat decent for hand editing when needed.

Comments would be nice, but they'd get lost in loading and dumping.

Moving beyond pure hierarchy, and having first class ordering, where comments are real data objects that survive import would probably be the way to go.

Something like slightly less verbose XML might be a great thing.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: