Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:true

95 assertEquals(true, JSON.parse("true"));
125 assertEquals([1, "2", true, null], JSON.parse('[1, "2", true, null]'));
200 TestInvalid("{true:42}");
216 TestInvalid('true ""');
221 TestInvalid('[true] ""');
223 TestInvalid('{"x":true} ""');
233 TestStringify("true", true);
265 TestStringify('{"a":1,"c":true}', { a : 1,
267 c : true,
269 TestStringify('[1,null,true,null]',
270 [1, function() { 1 }, true, function() { 2 }]);
341 assertEquals('{"x":true}', JSON.stringify({x: Boolean}, newx));
406 numTrue.valueOf = function() { return true; }
416 strTrue.toString = function() { return true; }
428 TestStringify('[37,null,1,"foo","37","true",null,"has toJSON",{},"has toJSON"]',
435 oddball.__proto__ = { __proto__: null, toString: function() { return true; } };
454 valueOf: function() { return true; } };
457 TestStringify('"true"', oddball2);