2 return jsonObject.parse();
4 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token u.
6 return jsonObject.parse('');
8 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected end of input.
10 return jsonObject.parse('1');
12 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
13 function (jsonObject){
14 return jsonObject.parse('-1');
16 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
17 function (jsonObject){
18 return jsonObject.parse('Infinity');
20 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token I.
21 function (jsonObject){
22 return jsonObject.parse('NaN');
24 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token N.
25 function (jsonObject){
26 return jsonObject.parse('null');
28 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
29 function (jsonObject){
30 return jsonObject.parse('undefined');
32 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token u.
33 function (jsonObject){
34 return jsonObject.parse('{}');
36 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
37 function (jsonObject){
38 return jsonObject.parse('({})');
40 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token (.
41 function (jsonObject){
42 return jsonObject.parse('{a}');
44 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token a.
45 function (jsonObject){
46 return jsonObject.parse('{a:}');
48 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token a.
49 function (jsonObject){
50 return jsonObject.parse('{a:5}');
52 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token a.
53 function (jsonObject){
54 return jsonObject.parse('{a:5,}');
56 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token a.
57 function (jsonObject){
58 return jsonObject.parse('{"a"}');
60 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token }.
61 function (jsonObject){
62 return jsonObject.parse('{"a":}');
64 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token }.
65 function (jsonObject){
66 return jsonObject.parse('{"a":5}');
68 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
69 function (jsonObject){
70 return jsonObject.parse('{"__proto__":5}');
72 FAIL JSON.stringify(tests[i](nativeJSON)) should be {}. Was {"__proto__":5}.
73 function (jsonObject){
74 return jsonObject.parse('{"a":5,}');
76 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token }.
77 json2.js did not throw for a test we expect to throw.
78 function (jsonObject){
79 return jsonObject.parse('{"a":5,,}');
81 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token ,.
82 function (jsonObject){
83 return jsonObject.parse('{"a":5,"a",}');
85 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token ,.
86 function (jsonObject){
87 return jsonObject.parse('{"a":(5,"a"),}');
89 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token (.
90 function (jsonObject){
91 return jsonObject.parse('[]');
93 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
94 function (jsonObject){
95 return jsonObject.parse('[1]');
97 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
98 function (jsonObject){
99 return jsonObject.parse('[1,]');
101 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token ].
102 json2.js did not throw for a test we expect to throw.
103 function (jsonObject){
104 return jsonObject.parse('[1,2]');
106 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
107 function (jsonObject){
108 return jsonObject.parse('[1,2,,]');
110 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token ,.
111 json2.js did not throw for a test we expect to throw.
112 function (jsonObject){
113 return jsonObject.parse('[1,2,,4]');
115 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token ,.
116 json2.js did not throw for a test we expect to throw.
117 function (jsonObject){
118 return jsonObject.parse('""');
120 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
121 function (jsonObject){
122 return jsonObject.parse('"\'"');
124 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
125 function (jsonObject){
126 return jsonObject.parse('"a\"');
128 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
129 function (jsonObject){
130 return jsonObject.parse('"a\\"');
132 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected end of input.
133 function (jsonObject){
134 return jsonObject.parse('"a\\z"');
136 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token z.
137 function (jsonObject){
138 return jsonObject.parse('"a\\\z"');
140 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token z.
141 function (jsonObject){
142 return jsonObject.parse('"a\\\\z"');
144 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
145 function (jsonObject){
146 return jsonObject.parse('"a\tz"');
148 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token .
149 json2.js did not throw for a test we expect to throw.
150 function (jsonObject){
151 return jsonObject.parse('"a\\tz"');
153 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
154 function (jsonObject){
155 return jsonObject.parse('"a\nz"');
157 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token
159 function (jsonObject){
160 return jsonObject.parse('"a\\nz"');
162 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
163 function (jsonObject){
164 return jsonObject.parse('"a\rz"');
166 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token
168 function (jsonObject){
169 return jsonObject.parse('"a\\rz"');
171 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
172 function (jsonObject){
173 return jsonObject.parse('"a\/z"');
175 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
176 function (jsonObject){
177 return jsonObject.parse('"a\\/z"');
179 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
180 function (jsonObject){
181 return jsonObject.parse('"a\bz"');
183 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token
\b.
184 json2.js did not throw for a test we expect to throw.
185 function (jsonObject){
186 return jsonObject.parse('"a\\bz"');
188 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
189 function (jsonObject){
190 return jsonObject.parse('"a\rz"');
192 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token
194 function (jsonObject){
195 return jsonObject.parse('"a\\rz"');
197 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
198 function (jsonObject){
199 return jsonObject.parse('"a\\uz" ');
201 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token z.
202 function (jsonObject){
203 return jsonObject.parse('"a\\u0z" ');
205 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token z.
206 function (jsonObject){
207 return jsonObject.parse('"a\\u00z" ');
209 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token z.
210 function (jsonObject){
211 return jsonObject.parse('"a\\u000z" ');
213 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token z.
214 function (jsonObject){
215 return jsonObject.parse('"a\\u0000z" ');
217 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
218 function (jsonObject){
219 return jsonObject.parse('"a\\u000Az" ');
221 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
222 function (jsonObject){
223 return jsonObject.parse('"a\\u000az" ');
225 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
226 function (jsonObject){
227 return jsonObject.parse('"a\\u000Gz" ');
229 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token G.
230 function (jsonObject){
231 return jsonObject.parse('"a\\u000gz" ');
233 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token g.
234 function (jsonObject){
235 return jsonObject.parse('"a\\u00A0z" ');
237 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
238 function (jsonObject){
239 return jsonObject.parse('"a\\u00a0z" ');
241 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
242 function (jsonObject){
243 return jsonObject.parse('"a\\u00G0z" ');
245 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token G.
246 function (jsonObject){
247 return jsonObject.parse('"a\\u00g0z" ');
249 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token g.
250 function (jsonObject){
251 return jsonObject.parse('"a\\u0A00z" ');
253 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
254 function (jsonObject){
255 return jsonObject.parse('"a\\u0a00z" ');
257 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
258 function (jsonObject){
259 return jsonObject.parse('"a\\u0G00z" ');
261 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token G.
262 function (jsonObject){
263 return jsonObject.parse('"a\\u0g00z" ');
265 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token g.
266 function (jsonObject){
267 return jsonObject.parse('"a\\uA000z" ');
269 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
270 function (jsonObject){
271 return jsonObject.parse('"a\\ua000z" ');
273 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
274 function (jsonObject){
275 return jsonObject.parse('"a\\uG000z" ');
277 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token G.
278 function (jsonObject){
279 return jsonObject.parse('"a\\ug000z" ');
281 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token g.
282 function (jsonObject){
283 return jsonObject.parse('00');
285 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected number.
286 json2.js did not throw for a test we expect to throw.
287 function (jsonObject){
288 return jsonObject.parse('01');
290 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected number.
291 json2.js did not throw for a test we expect to throw.
292 function (jsonObject){
293 return jsonObject.parse('0.a');
295 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token a.
296 function (jsonObject){
297 return jsonObject.parse('0x0');
299 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token x.
300 function (jsonObject){
301 return jsonObject.parse('2e1.3');
303 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token ..
304 function (jsonObject){
305 return jsonObject.parse('2e-+10');
307 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token +.
308 function (jsonObject){
309 return jsonObject.parse('2e+-10');
311 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected number.
312 function (jsonObject){
313 return jsonObject.parse('2e3e4');
315 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token e.
316 function (jsonObject){
317 return jsonObject.parse('-01.0');
319 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected number.
320 function (jsonObject){
321 return jsonObject.parse('-01');
323 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected number.
324 json2.js did not throw for a test we expect to throw.
325 function (jsonObject){
326 return jsonObject.parse('-01.a');
328 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected number.
329 function (jsonObject){
330 return jsonObject.parse('1.e1');
332 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token e.
333 json2.js did not throw for a test we expect to throw.
334 function (jsonObject){
335 return jsonObject.parse('{/* block comments are not allowed */}');
337 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token /.
338 function (jsonObject){
339 return jsonObject.parse('{// line comments are not allowed \n}');
341 PASS tests[i](nativeJSON) threw exception SyntaxError: Unexpected token /.
342 function (jsonObject){
343 return jsonObject.parse('true');
345 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
346 function (jsonObject){
347 return jsonObject.parse('false');
349 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
350 function (jsonObject){
351 return jsonObject.parse(JSON.stringify(simpleObject));
353 PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
354 function (jsonObject){
355 return jsonObject.parse(JSON.stringify(complexObject));
357 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
358 function (jsonObject){
359 return jsonObject.parse(JSON.stringify(complexObject));
361 PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
362 function (jsonObject){
363 return jsonObject.parse(JSON.stringify(simpleObject,null,100));
365 PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
366 function (jsonObject){
367 return jsonObject.parse(JSON.stringify(complexObject,null,100));
369 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
370 function (jsonObject){
371 return jsonObject.parse(JSON.stringify(complexObject,null,100));
373 PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
374 function (jsonObject){
375 return jsonObject.parse(JSON.stringify(simpleObject,null," "));
377 PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
378 function (jsonObject){
379 return jsonObject.parse(JSON.stringify(complexObject,null," "));
381 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
382 function (jsonObject){
383 return jsonObject.parse(JSON.stringify(complexObject,null," "));
385 PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
386 function (jsonObject){
387 return jsonObject.parse(JSON.stringify(simpleObject,null,"\t"));
389 PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
390 function (jsonObject){
391 return jsonObject.parse(JSON.stringify(complexObject,null,"\t"));
393 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
394 function (jsonObject){
395 return jsonObject.parse(JSON.stringify(complexObject,null,"\t"));
397 PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
398 function (jsonObject){
399 return jsonObject.parse(JSON.stringify(simpleObject,null,"\n"));
401 PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
402 function (jsonObject){
403 return jsonObject.parse(JSON.stringify(complexObject,null,"\n"));
405 PASS JSON.stringify(tests[i](nativeJSON)) is tests[i].expected
406 function (jsonObject){
407 return jsonObject.parse("true", log);
409 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
410 function (jsonObject){
411 return jsonObject.parse("false", log);
413 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
414 function (jsonObject){
415 return jsonObject.parse("null", log);
417 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
418 function (jsonObject){
419 return jsonObject.parse("1", log);
421 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
422 function (jsonObject){
423 return jsonObject.parse("1.5", log);
425 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
426 function (jsonObject){
427 return jsonObject.parse('"a string"', log);
429 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
430 function (jsonObject){
431 return jsonObject.parse(JSON.stringify(simpleArray), log);
433 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
434 function (jsonObject){
435 return jsonObject.parse(JSON.stringify(complexArray), log);
437 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
438 function (jsonObject){
439 return jsonObject.parse(JSON.stringify(simpleObject), log);
441 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
442 function (jsonObject){
443 return jsonObject.parse(JSON.stringify(complexObject), log);
445 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
446 function (jsonObject){
447 return jsonObject.parse('{"__proto__":{"a":5}}', log);
449 FAIL JSON.stringify(tests[i](nativeJSON)) should be {"":{},"keyType":"string"}. Was {"":{"__proto__":{"keyType":"string"}},"keyType":"string"}.
450 function (jsonObject){
452 return jsonObject.parse("true", logOrder);
454 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
455 function (jsonObject){
457 return jsonObject.parse("false", logOrder);
459 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
460 function (jsonObject){
462 return jsonObject.parse("null", logOrder);
464 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
465 function (jsonObject){
467 return jsonObject.parse("1", logOrder);
469 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
470 function (jsonObject){
472 return jsonObject.parse("1.5", logOrder);
474 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
475 function (jsonObject){
477 return jsonObject.parse('"a string"', logOrder);
479 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
480 function (jsonObject){
482 return jsonObject.parse(JSON.stringify(simpleArray), logOrder);
484 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
485 function (jsonObject){
487 return jsonObject.parse(JSON.stringify(complexArray), logOrder);
489 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
490 function (jsonObject){
492 return jsonObject.parse(JSON.stringify(simpleObject), logOrder);
494 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
495 function (jsonObject){
497 return jsonObject.parse(JSON.stringify(complexObject), logOrder);
499 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
500 function (jsonObject){
502 jsonObject.parse("true", logOrder);
503 return logOrderString;
505 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
506 function (jsonObject){
508 jsonObject.parse("false", logOrder);
509 return logOrderString;
511 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
512 function (jsonObject){
514 jsonObject.parse("null", logOrder);
515 return logOrderString;
517 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
518 function (jsonObject){
520 jsonObject.parse("1", logOrder);
521 return logOrderString;
523 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
524 function (jsonObject){
526 jsonObject.parse("1.5", logOrder);
527 return logOrderString;
529 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
530 function (jsonObject){
532 jsonObject.parse('"a string"', logOrder);
533 return logOrderString;
535 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
536 function (jsonObject){
538 jsonObject.parse(JSON.stringify(simpleArray), logOrder);
539 return logOrderString;
541 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
542 function (jsonObject){
544 jsonObject.parse(JSON.stringify(complexArray), logOrder);
545 return logOrderString;
547 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
548 function (jsonObject){
550 jsonObject.parse(JSON.stringify(simpleObject), logOrder);
551 return logOrderString;
553 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
554 function (jsonObject){
556 jsonObject.parse(JSON.stringify(complexObject), logOrder);
557 return logOrderString;
559 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
560 function (jsonObject){
563 return jsonObject.parse(JSON.stringify(complexArray), throwAfterFifthCall);
565 PASS tests[i](nativeJSON) threw exception from reviver.
566 function (jsonObject){
569 return jsonObject.parse(JSON.stringify(simpleObject), throwAfterFifthCall);
571 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
572 function (jsonObject){
575 return jsonObject.parse(JSON.stringify(complexObject), throwAfterFifthCall);
577 PASS tests[i](nativeJSON) threw exception from reviver.
578 function (jsonObject){
581 try { jsonObject.parse(JSON.stringify(complexArray), throwAfterFifthCall); } catch (e) {}
582 return logOrderString;
584 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
585 function (jsonObject){
588 try { jsonObject.parse(JSON.stringify(simpleObject), throwAfterFifthCall); } catch (e) {}
589 return logOrderString;
591 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
592 function (jsonObject){
595 try { jsonObject.parse(JSON.stringify(complexObject), throwAfterFifthCall); } catch (e) {}
596 return logOrderString;
598 PASS JSON.stringify(tests[i](nativeJSON)) is JSON.stringify(tests[i](JSON))
599 function (jsonObject){
600 return jsonObject.parse(JSON.stringify(unicode));
602 PASS tests[i](nativeJSON) is tests[i].unstringifiedExpected
603 PASS successfullyParsed is true