Permalink
Cannot retrieve contributors at this time
=== Spec Example 6.26. Tag Shorthands | |
--- from: http://www.yaml.org/spec/1.2/spec.html#id2785009 | |
--- tags: spec tag local-tag | |
--- in-yaml(<) | |
%TAG !e! tag:example.com,2000:app/ | |
--- | |
- !local foo | |
- !!str bar | |
- !e!tag%21 baz | |
--- in-json(<) | |
[ | |
"foo", | |
"bar", | |
"baz" | |
] | |
--- test-event | |
+STR | |
+DOC --- | |
+SEQ | |
=VAL <!local> :foo | |
=VAL <tag:yaml.org,2002:str> :bar | |
=VAL <tag:example.com,2000:app/tag!> :baz | |
-SEQ | |
-DOC | |
-STR |