onlinepersona@programming.dev to Programmer Humor@programming.devEnglish · 1 year agoShow me a better text format for serializingimgur.comexternal-linkmessage-square5fedilinkarrow-up12arrow-down10file-text
arrow-up12arrow-down1external-linkShow me a better text format for serializingimgur.comonlinepersona@programming.dev to Programmer Humor@programming.devEnglish · 1 year agomessage-square5fedilinkfile-text
minus-squareNewPerspective@lemmy.worldlinkfedilinkarrow-up0·1 year agoRule of thumb: valid json is valid yaml. If you’re ever unsure, do it the old fashioned way.
minus-squareintensely_human@lemm.eelinkfedilinkarrow-up0·1 year agoI really don’t see how that’s true. You’re telling me this is valid yaml? { firstName: “Intensely” } How is that yaml?
minus-squareFal@yiffit.netlinkfedilinkEnglisharrow-up0arrow-down1·1 year agoNo, because that’s not valid json
Rule of thumb: valid json is valid yaml. If you’re ever unsure, do it the old fashioned way.
I really don’t see how that’s true.
You’re telling me this is valid yaml?
How is that yaml?
No, because that’s not valid json