NamespacesEventsblockly.events.commentcreate.tojsonOn this pageHome > blockly > Events > CommentCreate > toJson Events.CommentCreate.toJson() method Encode the event as JSON. Signature: toJson(): CommentCreateJson; Returns: CommentCreateJson JSON representation.