NamespacesEventsblockly.events.varbase.tojsonOn this pageHome > blockly > Events > VarBase > toJson Events.VarBase.toJson() method Encode the event as JSON. Signature: toJson(): VarBaseJson; Returns: VarBaseJson JSON representation.