Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (62 sloc) 613 Bytes
=== Empty flow collections
--- from: @perlpunk
--- tags: flow mapping sequence
--- in-yaml(<)
---
nested sequences:
- - - []
- - - {}
key1: []
key2: {}
--- out-yaml(<)
---
nested sequences:
- - - []
- - - {}
key1: []
key2: {}
--- in-json
{
"nested sequences": [
[
[
[]
]
],
[
[
{}
]
]
],
"key1": [],
"key2": {}
}
--- test-event
+STR
+DOC ---
+MAP
=VAL :nested sequences
+SEQ
+SEQ
+SEQ
+SEQ
-SEQ
-SEQ
-SEQ
+SEQ
+SEQ
+MAP
-MAP
-SEQ
-SEQ
-SEQ
=VAL :key1
+SEQ
-SEQ
=VAL :key2
+MAP
-MAP
-MAP
-DOC
-STR
You can’t perform that action at this time.