NamespacesEventsblockly.events.commentdrag.tojsonOn this pageHome > blockly > Events > CommentDrag > toJson Events.CommentDrag.toJson() method Encode the event as JSON. Signature: toJson(): CommentDragJson; Returns: CommentDragJson JSON representation.