3
* YAML consists of lists and hashes. Lists are the lines begging at the same indentation level startign with '-'.
6
Hash or dictionary is represented by a group of 'key: value' pairs. Indentation is again matters.
10
another_hash_key1: another_hash_value1
11
The next level hash also can be specified on the same line with
12
- item key1="value1" key2="value2" key3="value3" ...
13
Also dictionaries and lists can also be represented in an abbreviated form:
14
martin: {name: Martin D'vloper, job: Developer, skill: Elite}
15
fruits: ['Apple', 'Orange', 'Strawberry', 'Mango']
18
* Values can span multiple lines using | or >. Spanning multiple lines using a '|' will include the newlines. Using a '>' will ignore newlines.