aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/D-YAML/test/spec 1.1/spec-09-13.yaml
blob: af8f802737d818c8b13150175aeb1561020636dc (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-09-13
  yaml: |
    simple key : {
      also simple : value,
      ? not a
      simple key : any
      value
    }
- name: spec-09-13-canonical
  yaml: |
    %YAML 1.1
    ---
    !!map {
      ? !!str "simple key"
      : !!map {
        ? !!str "also simple"
        : !!str "value",
        ? !!str "not a simple key"
        : !!str "any value"
      }
    }
  tree: |
    +STR
      +DOC ---
        +MAP {} <tag:yaml.org,2002:map>
          =VAL <tag:yaml.org,2002:str> "simple key
          +MAP {} <tag:yaml.org,2002:map>
            =VAL <tag:yaml.org,2002:str> "also simple
            =VAL <tag:yaml.org,2002:str> "value
            =VAL <tag:yaml.org,2002:str> "not a simple key
            =VAL <tag:yaml.org,2002:str> "any value
          -MAP
        -MAP
      -DOC
    -STR