Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (37 sloc) 426 Bytes
=== Spec Example 9.6. Stream [1.3]
--- from: 6ZKB, modified for YAML 1.3
--- tags: spec header 1.3-mod
--- in-yaml(<)
Mapping: Document
---
# Empty
...
%YAML 1.2
---
matches %: 20
--- in-json
{
"Mapping": "Document"
}
null
{
"matches %": 20
}
--- test-event
+STR
+DOC
+MAP
=VAL :Mapping
=VAL :Document
-MAP
-DOC
+DOC ---
=VAL :
-DOC ...
+DOC ---
+MAP
=VAL :matches %
=VAL :20
-MAP
-DOC
-STR