onlinepersona@programming.dev to Programmer Humor@programming.devEnglish · 1 year agoShow me a better text format for serializingimgur.comexternal-linkmessage-square6fedilinkarrow-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-square6fedilinkfile-text
minus-squarecolourlessidea@feddit.delinkfedilinkarrow-up0·1 year agoYAML is pretty good for readability, pretty awful for writability
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
YAML is pretty good for readability, pretty awful for writability
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