blob: 1338d16cef7a77e0f4b2c13b552a72c1c7eb4cb0 (
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
|
%YAML 1.1
---
- name: spec-05-07
yaml: |
literal: |
text
folded: >
text
tree: |
+STR
+DOC
+MAP
=VAL :literal
=VAL |text\n
=VAL :folded
=VAL >text\n
-MAP
-DOC
-STR
- name: spec-05-07-canonical
yaml: |
%YAML 1.1
---
!!map {
? !!str "literal"
: !!str "text\n",
? !!str "folded"
: !!str "text\n",
}
tree: |
+STR
+DOC ---
+MAP {} <tag:yaml.org,2002:map>
=VAL <tag:yaml.org,2002:str> "literal
=VAL <tag:yaml.org,2002:str> "text\n
=VAL <tag:yaml.org,2002:str> "folded
=VAL <tag:yaml.org,2002:str> "text\n
-MAP
-DOC
-STR
|