saphyr-serde/parser/tests/yaml-test-suite/src/V9D5.yaml

30 lines
516 B
YAML
Raw Normal View History

---
- name: Spec Example 8.19. Compact Block Mappings
from: http://www.yaml.org/spec/1.2/spec.html#id2799091
tags: complex-key explicit-key spec mapping
yaml: |
- sun: yellow
- ? earth: blue
: moon: white
tree: |
+STR
+DOC
+SEQ
+MAP
=VAL :sun
=VAL :yellow
-MAP
+MAP
+MAP
=VAL :earth
=VAL :blue
-MAP
+MAP
=VAL :moon
=VAL :white
-MAP
-MAP
-SEQ
-DOC
-STR