aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-02-12.yaml
blob: fb63aa5dc8ceca54930d108ffb4aca8850fe83cb (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
31
32
33
34
35
36
37
%YAML 1.1
---
- name: spec-02-12
  tree: |
    +STR
    +DOC ---
    +SEQ
    +MAP
    =VAL :item
    =VAL :Super Hoop
    =VAL :quantity
    =VAL :1
    -MAP
    +MAP
    =VAL :item
    =VAL :Basketball
    =VAL :quantity
    =VAL :4
    -MAP
    +MAP
    =VAL :item
    =VAL :Big Shoes
    =VAL :quantity
    =VAL :1
    -MAP
    -SEQ
    -DOC
    -STR
  yaml: |
    ---
    # products purchased
    - item    : Super Hoop
      quantity: 1
    - item    : Basketball
      quantity: 4
    - item    : Big Shoes
      quantity: 1