NamespacesEventsblockly.events.blockdrag.tojsonOn this pageHome > blockly > Events > BlockDrag > toJson Events.BlockDrag.toJson() method Encode the event as JSON. Signature: toJson(): BlockDragJson; Returns: BlockDragJson JSON representation.