I, on the syntax Detailed yaml
yaml usually locked into space to do, usually two or four, if you write more, as long as it is not being given its format
Two, yaml basic grammar rules
- Case Sensitive
- Use locked representation hierarchy
- When tightening allowed to use the tab key, only use spaces
- Locking space is not important, as long as the level of the left side of the same element to its
- # Indicates a comment from this character until the end of the line, the parser will be ignored
Third, Object
Fourth, the array
Five, objects, and an array of composite structures
Sixth, scalar
Seven multi-line strings
Eight, a multi-write the configuration file