blob: 51c8fbb32c59bcd3309e0f2ff950b538971dd90f (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
%YAML 1.1
---
- name: spec-09-01
yaml: |
"simple key" : {
"also simple" : value,
? "not a
simple key" : "any
value"
}
tree: |
+STR
+DOC
+MAP
=VAL "simple key
+MAP {}
=VAL "also simple
=VAL :value
=VAL "not a simple key
=VAL "any value
-MAP
-MAP
-DOC
-STR
- name: spec-09-01-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
|