@onlinepersona@programming.dev to Programmer Humor@programming.devEnglish • 8 months agoShow me a better text format for serializingimgur.comexternal-linkmessage-square58fedilinkarrow-up1127arrow-down129file-text
arrow-up198arrow-down1external-linkShow me a better text format for serializingimgur.com@onlinepersona@programming.dev to Programmer Humor@programming.devEnglish • 8 months agomessage-square58fedilinkfile-text
minus-square@NewPerspective@lemmy.worldlinkfedilink7•8 months agoRule of thumb: valid json is valid yaml. If you’re ever unsure, do it the old fashioned way.
minus-square@intensely_human@lemm.eelinkfedilink1•8 months agoI really don’t see how that’s true. You’re telling me this is valid yaml? { firstName: “Intensely” } How is that yaml?
minus-square@NewPerspective@lemmy.worldlinkfedilink3•8 months agoDon’t listen to me, put that in a yaml validator for yourself: https://yamllint.com
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?
Don’t listen to me, put that in a yaml validator for yourself: https://yamllint.com
No, because that’s not valid json