summaryrefslogtreecommitdiff
path: root/tests/auto/yaml/data/test.yaml
blob: 7b2e5e84e17d487033bd035cd7c084d57d0f6675 (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
formatVersion: 42
formatType: testfile
---
dec: 10
hex: 0x10
oct: 010
bin: 0b10
float1: 10.10
float2: 0.10
float3: .10
number-separators: 1_234_567
bool-true: true
bool-yes: yes
bool-false: false
bool-no: no
null-literal: null
null-tilde: ~
null-empty:
string-unquoted: unquoted
string-singlequoted: 'singlequoted'
string-doublequoted: "doublequoted"
list-int:
- 1
- 2
- 3
list-mixed:
- 1
- two
- [yes, ~]
map1:
  a: 1
  b: two
  c: [ 1, 2, 3]

extended:
  ext-string: 'ext string'

stringlist-string: string
stringlist-list1: [ string ]
stringlist-list2: [ string1, string2 ]

list-of-maps:
- index: 1
  name: '1'
- index: 2
  name: '2'