blockly > Events > CommentBase > toJson

Events.CommentBase.toJson() method

Encode the event as JSON.

Signature:

toJson(): CommentBaseJson;

Returns:

CommentBaseJson

JSON representation.