]> git.ozlabs.org Git - ccan/blob - ccan/json/test/test-strings-reencoded
check_type: fix incorrect documentation.
[ccan] / ccan / json / test / test-strings-reencoded
1 "￾"
2 "￿"
3 ""
4 []
5 {}
6 0.5
7 {"1":{}}
8 {"1":2}
9 {"1":2,"2.5":[3,4,{},{"5":["6"]}]}
10 {"1":2,"2.5":[3,4,{},{"5":["6"],"7":[8]}]}
11 1234
12 -1234
13 {"1":2,"3":4}
14 1.23456e+144
15 1.23456e-140
16 1.23456e+144
17 "1 "
18 "1 1"
19 2
20 3
21 "3"
22 [3]
23 32
24 [3,[4]]
25 [3,[4,[5]]]
26 [3,[4,[5],6]]
27 [3,[4,[5],6],7]
28 [3,[4,[5],6],7,8]
29 [3,[4,[5],6],7,8,9]
30 30
31 [7]
32 [7]
33 [7]
34 "hello"
35 ["hello"]
36 ["hello","bye"]
37 ["hello","bye\n"]
38 ["hello","bye\n\r\t"]
39 ["hello","bye\n\r\t\b"]
40 ["hello","bye\n\r\t\b",true]
41 ["hello","bye\n\r\t\b",true,false]
42 ["hello","bye\n\r\t\b",true,false,null]
43 {"hello":true}
44 {"hello":true,"bye":false}
45 {"hello":true,"bye":false,"foo":["one","two","three"]}
46 "hi"
47 ["hi"]
48 ["hi","bye"]
49 {"hi":"bye"}
50 ["hi","bye",3]
51 ["hi","bye[",3]
52 "\u0007"
53 "\b"
54 "\t"
55 "\u0010"
56 " "
57 "က0"
58 "ሴ"
59 "香9"
60 "𐀀"
61 "𐀀"
62 "𝄞"
63 "􏿿"
64 "�"
65 "￿"
66 [32,1]
67 "𐀀"
68 "\n"
69 "hello"
70 "hello\tworld"
71 "hello"
72 "hello\n"
73 "hello"
74 3
75 0.3
76 30000
77 3e-06
78 30000
79 "hello"
80 -3
81 -3.1
82 0.5
83 "\""
84 "\"3.5"
85 "\"."
86 "\"....."
87 ["\"\"\"\"",0.5]
88 ["\".5",".5\"",0.5]
89 "'"
90 [1,2,3]