Haroen Viaene posted this tweet about YAML:
worst part of yaml: https://yaml.org/type/bool.html
β Haroen Viaene (@haroenv) January 10, 2022
The linked-to page contains the documentation on what defines a boolean in YAML, and details that it can be parsed using this regex:
y|Y|yes|Yes|YES|n|N|no|No|NO |true|True|TRUE|false|False|FALSE |on|On|ON|off|Off|OFF
The reason to why this is problematic in some cases, is βThe Norway Problemβ YAML has.
continue reading on www.bram.us
β οΈ This post links to an external website. β οΈ
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.