mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Merge pull request #1966 from lesaff/patch-2
Add a note regarding string value of "1"
This commit is contained in:
commit
52e2e819c3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user