aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-02-26.yaml
blob: 852aa4fe1e5b8ef7cd4ebf3e5cfcfcaa11e3a030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
%YAML 1.1
---
- name: spec-02-26
  tree: |
    +STR
    +DOC ---
    +SEQ <tag:yaml.org,2002:omap>
    +MAP
    =VAL :Mark McGwire
    =VAL :65
    -MAP
    +MAP
    =VAL :Sammy Sosa
    =VAL :63
    -MAP
    +MAP
    =VAL :Ken Griffy
    =VAL :58
    -MAP
    -SEQ
    -DOC
    -STR
  yaml: |
    # ordered maps are represented as
    # a sequence of mappings, with
    # each mapping having one key
    --- !!omap
    - Mark McGwire: 65
    - Sammy Sosa: 63
    - Ken Griffy: 58