skepller@lemmy.world to Programmer Humor@programming.devEnglish · 2 months agoTOMLlemmy.worldimagemessage-square150fedilinkarrow-up1598arrow-down115
arrow-up1583arrow-down1imageTOMLlemmy.worldskepller@lemmy.world to Programmer Humor@programming.devEnglish · 2 months agomessage-square150fedilink
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up77arrow-down1·2 months agoChuck in comments and I’m on board.
minus-square[object Object]@lemmy.calinkfedilinkarrow-up90·2 months agoIf we’re adding comments to json, can we add canonical support for trailing commas?
minus-square[object Object]@lemmy.calinkfedilinkarrow-up40·2 months agoOh, a trailing comma? That’s a tuple.
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up10·2 months agoYeah when the call_func((a,)) is the way to go it is a newbie pain for sure. Remember banging my head on that one.
minus-square[object Object]@lemmy.calinkfedilinkarrow-up7·2 months agoI’ve spent hours on that, and debugging missing commas between string literals. Even on separate lines you’re not safe from implicit concatenation.
minus-squareAnafabula@discuss.tchncs.delinkfedilinkEnglisharrow-up27·2 months agoJust make JSON5 the new official version and I would be ok
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up9·2 months agoThat seems quite good, not overdoing it too.
minus-squaresocsa@piefed.sociallinkfedilinkEnglisharrow-up1·2 months ago_comment: “this is a comment”
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up2·2 months agoNah that sucks in so many ways thank you 😊
Chuck in comments and I’m on board.
If we’re adding comments to json, can we add canonical support for trailing commas?
Found the python guy!
Oh, a trailing comma? That’s a tuple.
Yeah when the call_func((a,)) is the way to go it is a newbie pain for sure. Remember banging my head on that one.
I’ve spent hours on that, and debugging missing commas between string literals. Even on separate lines you’re not safe from implicit concatenation.
Just make JSON5 the new official version and I would be ok
That seems quite good, not overdoing it too.
_comment: “this is a comment”
Nah that sucks in so many ways thank you 😊