Why ????

YAML interprets certain unquoted strings as booleans:

yes, no, on, off,

#python #yamlops #yaml #yamlengineer

@__sharky__ the norway problem! 🇳🇴 🥳

see also https://fosstodon.org/@wader/110146257724170707 

Mattias Wadman (@wader@fosstodon.org)

me: yaml is a superset of json with optional key quotes so you can write {a:123} yaml: {"a:123": null} ({a:<blank-space>123} works) #yaml #json

Fosstodon
@__sharky__ This is especially fun when you have a YAML file that contains country codes, and you keep wondering why things break until you remember you didn’t quote the values and one of them was for Norway.
@tero Waisted to much time on this . I used a library which is extensible via yaml files. My yaml had a yes and a no key word and everything broke . I tried nono as key and it worked . I thought WTF 😵 ? And the name Norway problem is a perfect name for it . Having iso codes as keys is handy ...
@__sharky__ YAML: For Your Convenience(R)[TM], of course.
/YAML under the breath: ungrateful oaf!