saphyr-serde/parser/tests/yaml-test-suite/src/8QBE.yaml

32 lines
408 B
YAML
Raw Normal View History

---
- name: Block Sequence in Block Mapping
from: NimYAML tests
tags: mapping sequence
yaml: |
key:
- item1
- item2
tree: |
+STR
+DOC
+MAP
=VAL :key
+SEQ
=VAL :item1
=VAL :item2
-SEQ
-MAP
-DOC
-STR
json: |
{
"key": [
"item1",
"item2"
]
}
dump: |
key:
- item1
- item2