3 ms·
YAML has the problem that it has a lot of well-defined but incredibly unintuitive behavior. // this is a string quote: I say, good man, could you spare
by crooked-v 10y ago
YAML has the problem that it has a lot of well-defined but incredibly unintuitive behavior.
// this is a string
quote: I say, good man, could you spare a vowel?
// this is a parsing error
quote: And then I said: "Oh, god, man, you're an aardvark!"
// this is a string (not including the quotes as part of the string)
quote: "And then Winston Churchill kicked him square in the knee."
// this is a string (including the quotes as part of the string)
quote: |
"What do you mean, all the monkeys have escaped?"
// this is a string
theCharacterToShow: =
// this is a null value
theCharacterToShow: ~
// this is a boolean true
theCharacterToShow: y
// this is an integer
obscureAnimeTitle: 0xDEADBEEF