50cfc636d4ddf7d042a6ac60a4dd445fb1e76647
[jansson.git] / test / testdata / valid-strip
1 ==== empty-string ====
2 [""]
3 ==== short-string ====
4 ["a"]
5 ==== simple-ascii-string ====
6 ["abcdefghijklmnopqrstuvwxyz1234567890 "]
7 ==== utf-8-string ====
8 ["€þıœəßð some utf-8 ĸʒ×ŋµåäö𝄞"]
9 ==== string-escapes ====
10 ["\"\\\/\b\f\n\r\t"]
11 ==== one-byte-utf-8 ====
12 ["\u002c one-byte UTF-8"]
13 ==== two-byte-utf-8 ====
14 ["\u0123 two-byte UTF-8"]
15 ==== three-byte-utf-8 ====
16 ["\u0821 three-byte UTF-8"]
17 ==== utf-surrogate-four-byte-encoding ====
18 ["\uD834\uDD1E surrogate, four-byte UTF-8"]
19 ==== escaped-utf-control-char ====
20 ["\u0012 escaped control character"]
21 ==== simple-int-0 ====
22 [0]
23 ==== simple-int-1 ====
24 [1]
25 ==== simple-int-123 ====
26 [123]
27 ==== negative-zero ====
28 [-0]
29 ==== negative-one ====
30 [-1]
31 ==== negative-int ====
32 [-123]
33 ==== simple-real ====
34 [123.456789]
35 ==== real-exponent ====
36 [123e45]
37 ==== real-capital-e ====
38 [1E22]
39 ==== real-positive-exponent ====
40 [1e+2]
41 ==== real-negative-exponent ====
42 [1e-2]
43 ==== real-capital-e-positive-exponent ====
44 [1E+2]
45 ==== real-capital-e-negative-exponent ====
46 [1E-2]
47 ==== real-fraction-exponent ====
48 [123.456e78]
49 ==== true ====
50 [true]
51 ==== false ====
52 [false]
53 ==== null ====
54 [null]
55 ==== empty-array ====
56 []
57 ==== empty-object-in-array ====
58 [{}]
59 ==== complex-array ====
60 [1,2,3,4,
61 "a", "b", "c",
62 {"foo": "bar", "core": "dump"},
63 true, false, true, true, null, false
64 ]
65 ==== empty-object ====
66 {}
67 ==== simple-object ====
68 {"a":[]}