NamespacesEventsblockly.events.blockcreate.tojsonOn this pageHome > blockly > Events > BlockCreate > toJson Events.BlockCreate.toJson() method Encode the event as JSON. Signature: toJson(): BlockCreateJson; Returns: BlockCreateJson JSON representation.