NamespacesEventsblockly.events_namespace.vardelete_class.tojson_1_methodOn this page blockly > Events > VarDelete > toJson Events.VarDelete.toJson() method Encode the event as JSON. Signature: toJson(): VarDeleteJson; Returns: VarDeleteJson JSON representation.