3 ms·
For something that wasn't meant to be interacted with by humans on the regular, I can see why you wouldn't include comments.
by indrora 4y ago
For something that wasn't meant to be interacted with by humans on the regular, I can see why you wouldn't include comments.
- School-Cotton 4y agoClassic mistake. The creators of JSON thought the same thing, and that decision is here forever to annoy us.
- MrStonedOne 4y ago
- eternityforest 4y agoHuman 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.