Permalink
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (39 sloc) 473 Bytes
=== Spec Example 6.2. Indentation Indicators
--- from: http://www.yaml.org/spec/1.2/spec.html#id2778101
--- tags: spec libyaml-err indent whitespace sequence upto-1.2
--- in-yaml
# XXX Why are tabs allowed as indentation after dash?
? a
: -<TAB>b
- -<TAB>c
- d
--- in-json
{
"a": [
"b",
[
"c",
"d"
]
]
}
--- out-yaml
a:
- b
- - c
- d
--- test-event
+STR
+DOC
+MAP
=VAL :a
+SEQ
=VAL :b
+SEQ
=VAL :c
=VAL :d
-SEQ
-SEQ
-MAP
-DOC
-STR