root / json-framework-3.2.0 / Tests / Data / jsonchecker / pass1.json @ 3ebe9884
History | View | Annotate | Download (1.4 kB)
1 |
[ |
---|---|
2 |
"JSON Test Pattern pass1",
|
3 |
{"object with 1 member":["array with 1 element"]}, |
4 |
{}, |
5 |
[], |
6 |
-42,
|
7 |
true,
|
8 |
false,
|
9 |
null,
|
10 |
{ |
11 |
"integer": 1234567890, |
12 |
"real": -9876.543210, |
13 |
"e": 0.123456789e-12, |
14 |
"E": 1.234567890E+34, |
15 |
"": 23456789012E66, |
16 |
"zero": 0, |
17 |
"one": 1, |
18 |
"space": " ", |
19 |
"quote": "\"", |
20 |
"backslash": "\\", |
21 |
"controls": "\b\f\n\r\t", |
22 |
"slash": "/ & \/", |
23 |
"alpha": "abcdefghijklmnopqrstuvwyz", |
24 |
"ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ", |
25 |
"digit": "0123456789", |
26 |
"0123456789": "digit", |
27 |
"special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?", |
28 |
"hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A", |
29 |
"true": true, |
30 |
"false": false, |
31 |
"null": null, |
32 |
"array":[ ],
|
33 |
"object":{ },
|
34 |
"address": "50 St. James Street", |
35 |
"url": "http://www.JSON.org/", |
36 |
"comment": "// /* <!-- --", |
37 |
"# -- --> */": " ", |
38 |
" s p a c e d " :[1,2 , 3 |
39 |
|
40 |
, |
41 |
|
42 |
4 , 5 , 6 ,7 ],"compact":[1,2,3,4,5,6,7], |
43 |
"jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}", |
44 |
"quotes": "" \u0022 %22 0x22 034 "", |
45 |
"\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"
|
46 |
: "A key can be any string"
|
47 |
}, |
48 |
0.5 ,98.6 |
49 |
, |
50 |
99.44
|
51 |
, |
52 |
|
53 |
1066,
|
54 |
1e1,
|
55 |
0.1e1,
|
56 |
1e-1,
|
57 |
1e00,2e+00,2e-00 |
58 |
,"rosebud"]
|