mikestead / hx-yaml

A cross-platform YAML 1.2 parser & renderer for Haxe.
MIT License
75 stars 28 forks source link

yes / no / on / off - only in YAML 1.1 spec #2

Open trevor opened 10 years ago

trevor commented 10 years ago

Note the implicit conversion of any scalar not true or false 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.