Debian Codegraph @

mock/mock.toml

raw
1 type = "toml"
2 orphan = [
3 "red",
4 "blue",
5 "orange"
6 ]
7 bools = [
8 true,
9 false,
10 true
11 ]
12 intbools = [
13 1.0,
14 0.0,
15 1.0
16 ]
17 strbools = [
18 "1",
19 "t",
20 "f"
21 ]
22 strbool = "1"
23 time = "2019-01-01"
24 duration = "3s"
25 negative_int = -1234
26
27 [parent1]
28 name = "parent1"
29 id = 1234.0
30
31 [parent1.child1]
32 name = "child1"
33 type = "toml"
34
35 [parent1.child1.grandchild1]
36 ids = [
37 1.0,
38 2.0,
39 3.0
40 ]
41 on = true
42
43 [parent1.child1.empty]
44
45 [parent1.strmap]
46 key1 = "val1"
47 key2 = "val2"
48 key3 = "val3"
49
50 [parent1.strsmap]
51 key1 = [
52 "val1",
53 "val2",
54 "val3"
55 ]
56 key2 = [
57 "val4",
58 "val5"
59 ]
60
61 [parent1.intmap]
62 key1 = 1.0
63 key2 = 1.0
64 key3 = 1.0
65
66 [parent1.floatmap]
67 key1 = 1.1
68 key2 = 1.2
69 key3 = 1.3
70
71 [parent1.boolmap]
72 ok1 = true
73 ok2 = true
74 notok3 = false
75
76 [parent2]
77 name = "parent2"
78 id = 5678.0
79
80 [parent2.child2]
81 name = "child2"
82
83 [parent2.child2.grandchild2]
84 ids = [
85 4.0,
86 5.0,
87 6.0
88 ]
89 on = true
90
91 [parent2.child2.empty]
92
93 [empty]