3 ms·
"NO" being false is particularly fun: - languages: - en # english - is # icelandic - no # norwegian - ja # japanese - fr # fr
by stevelosh 8y ago
"NO" being false is particularly fun:
- languages:
- en # english
- is # icelandic
- no # norwegian
- ja # japanese
- fr # french
[{"languages": ["en", "is", false, "ja", "fr"]}]
- rmdashrfstar 8y agoThat's so entirely ridiculous...
- yellowapple 8y agoI feel like 99% of YAML's problems (this being the case in point) would be solved by just treating everything as a string and letting the application interpret it whichever way it sees fit.
- slavik81 8y agoThat's basically the idea behind StrictYaml. Unless you provide a schema, all fields are parsed as string, list or OrderedDict.