Merge pull request #1966 from lesaff/patch-2

Add a note regarding string value of "1"
This commit is contained in:
Spurlow 2015-11-27 11:49:26 +07:00
commit 52e2e819c3

View File

@ -25,6 +25,8 @@ YAML doesn't allow literal tab characters at all.
key: value key: value
another_key: Another value goes here. another_key: Another value goes here.
a_number_value: 100 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 scientific_notation: 1e+12
boolean: true boolean: true
null_value: null null_value: null