NamespacesEventsblockly.events.themechange.tojsonOn this pageHome > blockly > Events > ThemeChange > toJson Events.ThemeChange.toJson() method Encode the event as JSON. Signature: toJson(): ThemeChangeJson; Returns: ThemeChangeJson JSON representation.