Annotate

tests/json/pass1.json @ 7814:2120d71b0d56

mod_register: Strip '+' char from field names without using length
author Kim Alvefur <zash@zash.se>
date Fri, 06 Jan 2017 13:07:22 +0100
parent 7237:472736b583fb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7237
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 [
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2 "JSON Test Pattern pass1",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 {"object with 1 member":["array with 1 element"]},
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 {},
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 [],
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 -42,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
7 true,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
8 false,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
9 null,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
10 {
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
11 "integer": 1234567890,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
12 "real": -9876.543210,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
13 "e": 0.123456789e-12,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
14 "E": 1.234567890E+34,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
15 "": 23456789012E66,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
16 "zero": 0,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
17 "one": 1,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
18 "space": " ",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
19 "quote": "\"",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
20 "backslash": "\\",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
21 "controls": "\b\f\n\r\t",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
22 "slash": "/ & \/",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
23 "alpha": "abcdefghijklmnopqrstuvwyz",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
24 "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
25 "digit": "0123456789",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
26 "0123456789": "digit",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
27 "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
28 "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
29 "true": true,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
30 "false": false,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
31 "null": null,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
32 "array":[ ],
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
33 "object":{ },
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
34 "address": "50 St. James Street",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
35 "url": "http://www.JSON.org/",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
36 "comment": "// /* <!-- --",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
37 "# -- --> */": " ",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
38 " s p a c e d " :[1,2 , 3
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
39
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
40 ,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
41
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
42 4 , 5 , 6 ,7 ],"compact":[1,2,3,4,5,6,7],
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
43 "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
44 "quotes": "&#34; \u0022 %22 0x22 034 &#x22;",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
45 "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
46 : "A key can be any string"
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
47 },
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
48 0.5 ,98.6
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
49 ,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
50 99.44
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
51 ,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
52
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
53 1066,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
54 1e1,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
55 0.1e1,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
56 1e-1,
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
57 1e00,2e+00,2e-00
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
58 ,"rosebud"]