Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
41 lines (37 sloc) 487 Bytes
=== Tags for Block Objects
--- from: NimYAML tests
--- tags: mapping sequence tag
--- in-yaml
foo: !!seq
- !!str a
- !!map
key: !!str value
--- in-json
{
"foo": [
"a",
{
"key": "value"
}
]
}
--- out-yaml
foo: !!seq
- !!str a
- !!map
key: !!str value
--- test-event
+STR
+DOC
+MAP
=VAL :foo
+SEQ <tag:yaml.org,2002:seq>
=VAL <tag:yaml.org,2002:str> :a
+MAP <tag:yaml.org,2002:map>
=VAL :key
=VAL <tag:yaml.org,2002:str> :value
-MAP
-SEQ
-MAP
-DOC
-STR