You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
Serde-yaml creates ambiguous YAML during the serialization of keys with string values that could be considered boolean in YAML 1.1. For instance, serializing foo with the string value no results in foo: no. Many YAML 1.2 parsers would still interpret no as boolean due to continued support for 1.1 booleans. I ran into this issue using Python's yaml module:
To avoid YAML created from serde-yaml being misinterpreted by many YAML parsers, string values that may be seen as booleans should be quoted or otherwise disambiguated from YAML 1.1 boolean values.
The text was updated successfully, but these errors were encountered:
Serde-yaml creates ambiguous YAML during the serialization of keys with string values that could be considered boolean in YAML 1.1. For instance, serializing
foo
with the string valueno
results infoo: no
. Many YAML 1.2 parsers would still interpretno
as boolean due to continued support for 1.1 booleans. I ran into this issue using Python'syaml
module:To avoid YAML created from serde-yaml being misinterpreted by many YAML parsers, string values that may be seen as booleans should be quoted or otherwise disambiguated from YAML 1.1 boolean values.
The text was updated successfully, but these errors were encountered: