@[email protected] to Programmer [email protected]English • 11 months agoShow me a better text format for serializingimgur.commessage-square56fedilinkarrow-up1133file-text
arrow-up1106external-linkShow me a better text format for serializingimgur.com@[email protected] to Programmer [email protected]English • 11 months agomessage-square56fedilinkfile-text
minus-square@[email protected]linkfedilink18•11 months agoYAML is pretty good for readability, pretty awful for writability
minus-squaresynae[he/him]linkfedilinkEnglish11•11 months agoInteresting, I find that the other reasonable options are far less writable than yaml
minus-square@[email protected]linkfedilink7•11 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•11 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•11 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