Permalink
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (39 sloc) 439 Bytes
=== Block Mappings in Block Sequence
--- from: NimYAML tests
--- tags: mapping sequence
--- in-yaml
- key: value
key2: value2
-
key3: value3
--- in-json
[
{
"key": "value",
"key2": "value2"
},
{
"key3": "value3"
}
]
--- out-yaml
- key: value
key2: value2
- key3: value3
--- test-event
+STR
+DOC
+SEQ
+MAP
=VAL :key
=VAL :value
=VAL :key2
=VAL :value2
-MAP
+MAP
=VAL :key3
=VAL :value3
-MAP
-SEQ
-DOC
-STR