Debian Codegraph @

cpan/CPAN-Meta-YAML/t/tml-spec/basic-data.tml

raw
1 === basic hash
2 # This is just a simple one key hash.
3 --- yaml
4 a: b
5 --- json
6 {"a":"b"}
7
8 === double quoted keys
9 # Hash with quoted key with embedded newline
10 --- yaml
11 "a\nb": c
12 --- json
13 {"a\nb":"c"}
14 # --- dump
15 # "a\nb": c
16
17 === basic array
18 # This is just a simple one key hash.
19 --- yaml
20 - a
21 -b
22 --- json
23 ["a","b"]
24