OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:complexobject
(Results
1 - 2
of
2
) sorted by null
/external/webkit/LayoutTests/fast/js/resources/
JSON-parse.js
311
var
complexObject
= {a:"1", b:"2", c:"3", d:4.5e10, g: 0.45e-5, h: 0.0, i: 0, j:.5, k:0., l:-0, m:-0.0, n:-0., o:-.5, p:-0.45e-10, q:-4.5e10, e:null, "":12, f: simpleArray, array: complexArray};
317
return jsonObject.parse(JSON.stringify(
complexObject
));
320
return jsonObject.parse(JSON.stringify(
complexObject
));
322
result[result.length - 1].expected = JSON.stringify(
complexObject
);
328
return jsonObject.parse(JSON.stringify(
complexObject
,null,100));
331
return jsonObject.parse(JSON.stringify(
complexObject
,null,100));
333
result[result.length - 1].expected = JSON.stringify(
complexObject
);
339
return jsonObject.parse(JSON.stringify(
complexObject
,null," "));
342
return jsonObject.parse(JSON.stringify(
complexObject
,null," "));
344
result[result.length - 1].expected = JSON.stringify(
complexObject
);
[
all
...]
JSON-stringify.js
6
var
complexObject
= {a:"1", b:"2", c:"3", d:undefined, e:null, "":12, get f(){ return simpleArray; }, array: complexArray};
12
var complexObjectWithProto = {d:"4", e:"5", f:"6", g:undefined, h:null, "":12, get i(){ return simpleArrayWithProto; }, array2: complexArrayWithProto, __proto__:
complexObject
};
230
return jsonObject.stringify(
complexObject
, null, " ");
233
return jsonObject.stringify(
complexObject
, null, 4);
236
return jsonObject.stringify(
complexObject
, null, "ab");
239
return jsonObject.stringify(
complexObject
, null, 4);
Completed in 639 milliseconds