Lines Matching defs:toJSON
595 // interface types that have a toJSON operation declared on themselves or
1385 * for inclusion in the default toJSON operation for easy
2417 var json = memberHolderObject.toJSON();
2419 assert_true(k in json, "property " + JSON.stringify(k) + " should be present in the output of " + this.name + ".prototype.toJSON()");
2427 }.bind(this), this.name + " interface: default toJSON operation on " + desc);
2430 assert_true(this.array.is_json_type(member.idlType), JSON.stringify(member.idlType) + " is not an appropriate return value for the toJSON operation of " + instanceName);
2431 this.array.assert_type_is(memberHolderObject.toJSON(), member.idlType);
2432 }.bind(this), this.name + " interface: toJSON operation on " + desc);
3126 for (var k in obj.toJSON())
3141 IdlInterfaceMember.prototype.toJSON = function() {
3146 return this.type == "operation" && this.special !== "static" && this.name == "toJSON";