Debian Codegraph @

demo/kitchen-sink/docs/toml.toml

raw
1 # This is a TOML document. Boom.
2
3 title = "TOML Example"
4
5 [owner]
6 name = "Tom Preston-Werner"
7 organization = "GitHub"
8 bio = "GitHub Cofounder & CEO\nLikes tater tots and beer."
9 dob = 1979-05-27T07:32:00Z # First class dates? Why not?
10
11 [database]
12 server = "192.168.1.1"
13 ports = [ 8001, 8001, 8002 ]
14 connection_max = 5000
15 enabled = true
16
17 [servers]
18
19 # You can indent as you please. Tabs or spaces. TOML don't care.
20 [servers.alpha]
21 ip = "10.0.0.1"
22 dc = "eqdc10"
23
24 [servers.beta]
25 ip = "10.0.0.2"
26 dc = "eqdc10"
27
28 [clients]
29 data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it