Permalink
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (28 sloc) 315 Bytes
=== Block Submapping
--- from: https://github.com/ingydotnet/yaml-pegex-pm/blob/master/test/mapping.tml
--- tags: mapping
--- in-yaml
foo:
bar: 1
baz: 2
--- in-json
{
"foo": {
"bar": 1
},
"baz": 2
}
--- test-event
+STR
+DOC
+MAP
=VAL :foo
+MAP
=VAL :bar
=VAL :1
-MAP
=VAL :baz
=VAL :2
-MAP
-DOC
-STR