7 tst |one-element array: integer|
18 tst |one-element array: hex integer (not in spec, not supported)|
23 tst |one-element array: float|
28 tst |one-element array: float + exponent|
33 tst |one-element array: integer + whitespace|
38 tst |one-element array: integer + exponent + whitespace|
43 tst |one-element array: string|
48 tst |alternative first-element indexing|
59 tst |one-element array: object|
60 in |[ { "first": true, "second": false }]|
68 tst |many-element array: integers|
69 in |[0,1,1,2,3,5,8,13,21,34,55,89,144,233,377]|
77 tst |many-element array: multiple types|
78 in |["string",32,true,{"a":9,"b":false},100.3e10,false,200.5,{"key":"val"},null]|
88 out |{"a":9,"b":false}|
105 sel |7.key.notobject|
114 tst |many-element array: multiple types + whitespace|
116 [ "string" , 32 , true , {"a": 9, "b": false}, 100.3e10, false, 200.5,{"key" :
127 out |{"a": 9, "b": false}|
145 sel |7.key.notobject|
154 tst |two-element array: various string escape codes|
155 in |["abcd \" \\ \/ \b \f \n \r \t \u0000 \uf00F ", "final"]|
157 out |abcd \" \\ \/ \b \f \n \r \t \u0000 \uf00F |
161 tst |three-element array: broken escape code|
162 in |["fine here", "dodgey \u00AZ", "wont get here"]|
171 in |{ "top": { "mid" : { "legs": "feet" }, "number": 9, "array":[0,1,{"a":true,"bb":[1,2,false,{"x":"yz"}]}]}}|
173 out |{ "mid" : { "legs": "feet" }, "number": 9, "array":[0,1,{"a":true,"bb":[1,2,false,{"x":"yz"}]}]}|
177 out |{ "legs": "feet" }|
189 out |[0,1,{"a":true,"bb":[1,2,false,{"x":"yz"}]}]|
195 out |{"a":true,"bb":[1,2,false,{"x":"yz"}]}|
200 sel |top.array[2].bb|
201 out |[1,2,false,{"x":"yz"}]|
202 sel |top.array[2].bb[0]|
204 sel |top.array[2].bb[1]|
206 sel |top.array[2].bb[2]|
208 sel |top.array[2].bb[3]|
210 sel |top.array[2].bb[3].x|
212 sel |top.array[2].bb[3].x.nofurther|
214 sel |top.array[2].bb[4]|