Permalink
Cannot retrieve contributors at this time
=== Anchors and Tags | |
--- from: NimYAML tests | |
--- tags: anchor tag | |
This test show all the possible orders of properties (anchors and tags). | |
--- in-yaml | |
- &a !!str a | |
- !!int 2 | |
- !!int &c 4 | |
- &d d | |
--- in-json | |
[ | |
"a", | |
2, | |
4, | |
"d" | |
] | |
--- out-yaml | |
- &a !!str a | |
- !!int 2 | |
- &c !!int 4 | |
- &d d | |
--- test-event | |
+STR | |
+DOC | |
+SEQ | |
=VAL &a <tag:yaml.org,2002:str> :a | |
=VAL <tag:yaml.org,2002:int> :2 | |
=VAL &c <tag:yaml.org,2002:int> :4 | |
=VAL &d :d | |
-SEQ | |
-DOC | |
-STR |