skepller@lemmy.world to Programmer Humor@programming.devEnglish · 19 hours agoTOMLlemmy.worldimagemessage-square90linkfedilinkarrow-up1454arrow-down19
arrow-up1445arrow-down1imageTOMLlemmy.worldskepller@lemmy.world to Programmer Humor@programming.devEnglish · 19 hours agomessage-square90linkfedilink
minus-squareLiveLM@lemmy.ziplinkfedilinkEnglisharrow-up23·13 hours ago The json spec is not versioned. There were two changes to it in 2005 (the removal of comments See, this is why we can’t have nice things.
minus-squareEphera@lemmy.mllinkfedilinkEnglisharrow-up9·9 hours agoI can kind of understand it after having to work with an XML file where users encoded data into comments for no good reason. But yeah, it does make JSON awkward for lots of potential use-cases.
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up1·4 hours agoThis would undoubtedly, unquestionably happen, and it would break JSON. The only reason it works so well is because comments aren’t allowed.
See, this is why we can’t have nice things.
I can kind of understand it after having to work with an XML file where users encoded data into comments for no good reason. But yeah, it does make JSON awkward for lots of potential use-cases.
Hm? Comments are not data.
This would undoubtedly, unquestionably happen, and it would break JSON. The only reason it works so well is because comments aren’t allowed.