Lines Matching refs:stringify
32 assertTrue(JSON.stringify(this).indexOf('"a":12345') > 0);
33 assertTrue(JSON.stringify(this, null, 0).indexOf('"a":12345') > 0);
37 assertEquals(expected, JSON.stringify(input));
38 assertEquals(expected, JSON.stringify(input, null, 0));
109 JSON.stringify({ get toJSON() { throw "error"; } });
121 assertThrows(function() { JSON.stringify(tojson_ex); });
122 assertThrows(function() { JSON.stringify(tojson_ex, null, 0); });
158 assertEquals('{"a":1,"b":2,"d":4}', JSON.stringify(getter_side_effect));
159 assertEquals('{"b":2,"d":4,"e":5}', JSON.stringify(getter_side_effect));
171 JSON.stringify(getter_side_effect, null, 0));
173 JSON.stringify(getter_side_effect, null, 0));