Permalink
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (23 sloc) 268 Bytes
=== Anchors in Mapping
--- from: NimYAML tests
--- tags: jayt
This came from an edge case in NimYAML development.
--- in-yaml
&a a: b
c: &d d
--- in-json
{
"a": "b",
"c": "d"
}
--- test-event
+STR
+DOC
+MAP
=VAL &a :a
=VAL :b
=VAL :c
=VAL &d :d
-MAP
-DOC
-STR