Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (41 sloc) 529 Bytes
=== Spec Example 7.15. Flow Mappings
--- from: http://www.yaml.org/spec/1.2/spec.html#id2791018
--- tags: spec flow mapping
--- in-yaml
- { one : two , three: four , }
- {five: six,seven : eight}
--- in-json
[
{
"one": "two",
"three": "four"
},
{
"five": "six",
"seven": "eight"
}
]
--- out-yaml
- one: two
three: four
- five: six
seven: eight
--- test-event
+STR
+DOC
+SEQ
+MAP
=VAL :one
=VAL :two
=VAL :three
=VAL :four
-MAP
+MAP
=VAL :five
=VAL :six
=VAL :seven
=VAL :eight
-MAP
-SEQ
-DOC
-STR
You can’t perform that action at this time.