With implicit keys:
key: value
another key:
- some
- more
- values
[1, 2, 3]: last value, which has a flow style key
With implicit and explicit keys:
? key
: value
another key:
- some
- more
- values
? [1, 2, 3]
: last value, which has a flow style key
key
, another key
and [1, 2, 3]
are keys of the same mapping, although they use different key styles.
Nested mappings:
first level:
second level:
? third level
:
forth level: value of implicit key
? third level, second key
: value of explicit key
?
mapping as: key of
another: mapping
: scalar value of mapping key
first level, second key:
last value