-
Notifications
You must be signed in to change notification settings - Fork 28
/
source.yaml
126 lines (105 loc) · 2.19 KB
/
source.yaml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
level1:
level2:
empty: "null"
literalEmpty: null
present: 1
boolean: false
int: 1
short: 2
byte: 3
bigInteger: 4
long: 4
double: 1.5
float: -1.5
bigDecimal: 1.5
char: "a"
string: string
offsetTime: 10:15:30+01:00
offsetDateTime: "2007-12-03T10:15:30+01:00"
zonedDateTime: 2007-12-03T10:15:30+01:00[Europe/Paris]
localDate: 2007-12-03
localTime: "10:15:30"
localDateTime: 2007-12-03T10:15:30
date: 2007-12-03T10:15:30Z
year: "2007"
yearMonth: 2007-12
instant: 2007-12-03T10:15:30.00Z
duration: P2DT3H4M
simpleDuration: 200millis
size: 10k
enum: LABEL2
array:
boolean:
- true
- false
byte: [1, 2, 3]
short: [1, 2, 3]
int: [1, 2, 3]
long: [4, 5, 6]
float: [-1, 0.0, 1]
double: [-1, 0.0, 1]
char: [a, b, c]
object:
boolean: [true, false]
int: [1, 2, 3]
string: [one, two, three]
enum: [LABEL1, LABEL2, LABEL3]
list: [1, 2, 3]
mutableList: [1, 2, 3]
listOfList:
- - 1
- 2
- [3, 4]
set: [1, 2, 1]
sortedSet: [2, 1, 1, 3]
map:
a: 1
b: 2
c: 3
intMap:
1: a
2: b
3: c
sortedMap: { c: 3, b: 2, a: 1 }
listOfMap:
- a: 1
b: 2
- a: 3
b: 4
nested: [[[{ a: 1 }]]]
pair:
first: 1
second: 2
clazz:
empty: "null"
literalEmpty: null
present: 1
boolean: false
int: 1
short: 2
byte: 3
bigInteger: 4
long: 4
double: 1.5
float: -1.5
bigDecimal: 1.5
char: "a"
string: string
offsetTime: 10:15:30+01:00
offsetDateTime: "2007-12-03T10:15:30+01:00"
zonedDateTime: 2007-12-03T10:15:30+01:00[Europe/Paris]
localDate: 2007-12-03
localTime: "10:15:30"
localDateTime: 2007-12-03T10:15:30
date: 2007-12-03T10:15:30Z
year: "2007"
yearMonth: 2007-12
instant: 2007-12-03T10:15:30.00Z
duration: P2DT3H4M
simpleDuration: 200millis
size: 10k
enum: LABEL2
booleanArray:
- true
- false
nested: [[[{ a: 1 }]]]