2 ms·
YAML 1.2 fixed the boolean thing. Language tags can get weird but they're ultimately just additional types implemented by your yaml parser you should basically
by Spivak 3y ago
YAML 1.2 fixed the boolean thing.
Language tags can get weird but they're ultimately just additional types implemented by your yaml parser you should basically always turn off/not turn on unless you know you want it. You can serialize classes in your language without it.
Tags are really good for readability if you use them thoughtfully
value: !!binary
base64string
# ordered map
value: !!omap
a: 123
b: 455
The reason that example is so ugly is it's using the "complex mapping key" syntax which is unbelievably ugly but if you're using objects as keys in your map you abandoned sanity long ago.