YAML 1.2 Specification & The Infamous "Norway Problem"
In 2009, the YAML standards committee released YAML 1.2 to establish a formal mathematical axiom: every valid JSON file is valid YAML 1.2. Prior to this, YAML 1.1 suffered from aggressive implicit type coercion heuristics that caused widespread production failures across cloud and enterprise environments.
The most notorious of these is the "Norway Problem". In YAML 1.1, the plain scalar NO (the two-letter ISO 3166-1 alpha-2 code for Norway) was defined alongside yes, on, and off as boolean literals. When parsed by older YAML 1.1 libraries (such as legacy PyYAML or older Ruby/SnakeYAML parsers), a country mapping like country: NO was silently mutated into { "country": false }.
YAML 1.2 eliminated these hazards by strictly limiting booleans to literal true and false. This converter runs YAML 1.2 by default, while providing an on-the-fly toggle and automated schema hazard warnings to inspect legacy behavior safely.