method Document.prototype.toJSON
Document.prototype.toJSON(): object

Serialize the current document as an object.

Return Type

object