Show me a better text format for serializingonlinepersona@programming.dev to Programmer Humor@programming.dev – 106 points – 12 months agoimgur.comAnd I'll show you YAML (a continuation of this post)54Post a CommentPreviewYou are viewing a single commentView all commentsYAML is pretty good for readability, pretty awful for writabilityInteresting, I find that the other reasonable options are far less writable than yamlRule 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? { firstName: “Intensely” } How is that yaml?Don't listen to me, put that in a yaml validator for yourself: https://yamllint.comNo, because that's not valid json
YAML is pretty good for readability, pretty awful for writabilityInteresting, I find that the other reasonable options are far less writable than yamlRule 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? { firstName: “Intensely” } How is that yaml?Don't listen to me, put that in a yaml validator for yourself: https://yamllint.comNo, because that's not valid json
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? { firstName: “Intensely” } How is that yaml?Don't listen to me, put that in a yaml validator for yourself: https://yamllint.comNo, because that's not valid json
I really don’t see how that’s true. You’re telling me this is valid yaml? { firstName: “Intensely” } How is that yaml?Don't listen to me, put that in a yaml validator for yourself: https://yamllint.comNo, because that's not valid json
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