Add a note regarding string value of "1"

Because some YAML parser will always assume that 1 is boolean for true.
This commit is contained in:
Rudy Affandi 2015-10-31 11:31:30 -07:00
parent 5b0db44e7c
commit 8670035d19

View File

@ -24,6 +24,8 @@ YAML doesn't allow literal tab characters at all.
key: value
another_key: Another value goes here.
a_number_value: 100
# If you want to use number 1 as a value, you have to enclose it in quotes,
# otherwise, YAML parser will assume that it is a boolean value of true.
scientific_notation: 1e+12
boolean: true
null_value: null