1 | o = p
|
2 |
|
3 | a with spaces = b c
|
4 |
|
5 | ; wrap in quotes to JSON-decode and preserve spaces
|
6 | " xa n p " = "\"\r\nyoyoyo\r\r\n"
|
7 |
|
8 | ; wrap in quotes to get a key with a bracket, not a section.
|
9 | "[disturbing]" = hey you never know
|
10 |
|
11 | ; a section
|
12 | [a]
|
13 | av = a val
|
14 | e = { o: p, a: { av: a val, b: { c: { e: "this [value]" } } } }
|
15 | j = "{ o: "p", a: { av: "a val", b: { c: { e: "this [value]" } } } }"
|
16 | "[]" = a square?
|
17 |
|
18 | ; nested child without middle parent
|
19 | ; should create otherwise-empty a.b
|
20 | [a.b.c]
|
21 | e = 1
|
22 | j = 2
|
23 |
|
24 | ; dots in the section name should be literally interpreted
|
25 | [x\.y\.z]
|
26 | x.y.z = xyz
|
27 |
|
28 | [x\.y\.z.a\.b\.c]
|
29 | a.b.c = abc
|