MCPcopy
hub / github.com/microsoft/playwright / toJSON

Method toJSON

packages/isomorphic/cssTokenizer.ts:774–779  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

772 override toString() { return 'HASH(' + this.value + ')'; }
773
774 override toJSON() {
775 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);
776 json.value = this.value;
777 json.type = this.type;
778 return json;
779 }
780
781 override toSource() {
782 if (this.type === 'id')

Callers 3

innerSerializeFunction · 0.45
toJSONMethod · 0.45
innerSerializeValueFunction · 0.45

Calls 1

callMethod · 0.80

Tested by

no test coverage detected