Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (43 sloc) 512 Bytes
=== Tags for Root Objects
--- from: NimYAML tests
--- tags: tag
--- in-yaml(<)
--- !!map
? a
: b
--- !!seq
- !!str c
--- !!str
d
e
--- in-json
{
"a": "b"
}
[
"c"
]
"d e"
--- out-yaml(<)
--- !!map
a: b
--- !!seq
- !!str c
--- !!str d e
--- test-event
+STR
+DOC ---
+MAP <tag:yaml.org,2002:map>
=VAL :a
=VAL :b
-MAP
-DOC
+DOC ---
+SEQ <tag:yaml.org,2002:seq>
=VAL <tag:yaml.org,2002:str> :c
-SEQ
-DOC
+DOC ---
=VAL <tag:yaml.org,2002:str> :d e
-DOC
-STR