@onlinepersona to Programmer HumorEnglish • 7 months agoShow me a better text format for serializingimgur.comexternal-linkmessage-square58arrow-up1137arrow-down129file-text
arrow-up1108arrow-down1external-linkShow me a better text format for serializingimgur.com@onlinepersona to Programmer HumorEnglish • 7 months agomessage-square58file-text
minus-square@[email protected]linkfedilink18•7 months agoYAML is pretty good for readability, pretty awful for writability
minus-squaresynae[he/him]linkfedilinkEnglish11•7 months agoInteresting, I find that the other reasonable options are far less writable than yaml
minus-square@[email protected]linkfedilink7•7 months agoRule of thumb: valid json is valid yaml. If you’re ever unsure, do it the old fashioned way.
minus-square@[email protected]linkfedilink1•7 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@[email protected]linkfedilink4•7 months agoDon’t listen to me, put that in a yaml validator for yourself: https://yamllint.com
YAML is pretty good for readability, pretty awful for writability
Interesting, I find that the other reasonable options are far less writable than yaml
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