Open trevor opened 10 years ago
Note the implicit conversion of any scalar not true or false to boolean has thankfully been dropped in YAML 1.2.
true
false
http://www.yaml.org/spec/1.2/spec.html#id2803629
The link at http://yaml.org/type/ only applies to YAML 1.1 unfortunately, it'd be great to see it updated someday.
One of the biggest benefits of YAML 1.2 is this change and the fix for exponential notation.
Note the implicit conversion of any scalar not
true
orfalse
to boolean has thankfully been dropped in YAML 1.2.http://www.yaml.org/spec/1.2/spec.html#id2803629
The link at http://yaml.org/type/ only applies to YAML 1.1 unfortunately, it'd be great to see it updated someday.
One of the biggest benefits of YAML 1.2 is this change and the fix for exponential notation.