Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (37 sloc) 477 Bytes
=== Spec Example 6.3. Separation Spaces
--- from: http://www.yaml.org/spec/1.2/spec.html#id2778394
--- tags: spec libyaml-err sequence whitespace upto-1.2
--- in-yaml
# XXX Why are tabs allowed as indentation after dash?
- foo:<TAB> bar
- - baz
-<TAB>baz
--- in-json
[
{
"foo": "bar"
},
[
"baz",
"baz"
]
]
--- out-yaml
- foo: bar
- - baz
- baz
--- test-event
+STR
+DOC
+SEQ
+MAP
=VAL :foo
=VAL :bar
-MAP
+SEQ
=VAL :baz
=VAL :baz
-SEQ
-SEQ
-DOC
-STR
You can’t perform that action at this time.