v / vlib / toml / tests / testdata / toml_with_utf8_bom.toml
33 lines · 25 sloc · 573 bytes · a987440e2f7f197891411caccf458647ab9d9266
Raw
1# This is a TOML document with an UTF-8 BOM header.
2
3title = "TOML Example"
4
5[owner]
6name = "Tom Preston-Werner"
7dob = 1979-05-27T07:32:00-08:00 # First class dates
8
9[database]
10server = "192.168.1.1"
11ports = [ 8000, 8001, 8002 ]
12connection_max = 5000
13enabled = true
14
15[servers]
16
17 # Indentation (tabs and/or spaces) is allowed but not required
18 [servers.alpha]
19 ip = "10.0.0.1"
20 dc = "eqdc10"
21
22 [servers.beta]
23 ip = "10.0.0.2"
24 dc = "eqdc10"
25
26[clients]
27data = [ ["gamma", "delta"], [1, 2] ]
28
29# Line breaks are OK when inside arrays
30hosts = [
31 "alpha",
32 "omega"
33]
34