Permalink
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 424 Bytes
=== Spec Example 5.6. Node Property Indicators
--- from: http://www.yaml.org/spec/1.2/spec.html#id2773402
--- tags: spec tag alias
--- in-yaml
anchored: !local &anchor value
alias: *anchor
--- in-json
{
"anchored": "value",
"alias": "value"
}
--- out-yaml
anchored: &anchor !local value
alias: *anchor
--- test-event
+STR
+DOC
+MAP
=VAL :anchored
=VAL &anchor <!local> :value
=VAL :alias
=ALI *anchor
-MAP
-DOC
-STR