xref: /PHP-8.0/sapi/fuzzer/corpus/json/pass1.json (revision 41f45647)
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
424 , 5        ,          6           ,7        ],"compact":[1,2,3,4,5,6,7],
43        "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}",
44        "quotes": "&#34; \u0022 %22 0x22 034 &#x22;",
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,
5099.44
51,
52
531066,
541e1,
550.1e1,
561e-1,
571e00,2e+00,2e-00
58,"rosebud"]