blob: 1ea2e94e49379ee0f3569a7615508ead53a3d716 (
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
|
%YAML 1.1
---
- name: spec-08-05
yaml: |
%TAG !o! tag:ben-kiki.org,2000:
---
- !local foo
- !!str bar
- !o!type baz
tree: |
+STR
+DOC ---
+SEQ
=VAL <!local> :foo
=VAL <tag:yaml.org,2002:str> :bar
=VAL <tag:ben-kiki.org,2000:type> :baz
-SEQ
-DOC
-STR
- name: spec-08-05-canonical
yaml: |
%YAML 1.1
---
!!seq [
!<!local> "foo",
!<tag:yaml.org,2002:str> "bar",
!<tag:ben-kiki.org,2000:type> "baz",
]
tree: |
+STR
+DOC ---
+SEQ [] <tag:yaml.org,2002:seq>
=VAL <!local> "foo
=VAL <tag:yaml.org,2002:str> "bar
=VAL <tag:ben-kiki.org,2000:type> "baz
-SEQ
-DOC
-STR
|