@[email protected] to Programmer [email protected]English • 1 year agoShow me a better text format for serializingimgur.comexternal-linkmessage-square46fedilinkarrow-up1131arrow-down128file-text
arrow-up1103arrow-down1external-linkShow me a better text format for serializingimgur.com@[email protected] to Programmer [email protected]English • 1 year agomessage-square46fedilinkfile-text
minus-square@NewPerspectivelink8•1 year agoRule of thumb: valid json is valid yaml. If you’re ever unsure, do it the old fashioned way.
minus-square@[email protected]linkfedilink1•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-square@NewPerspectivelink4•1 year 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