blockly >事件 >摘要 >toJson

Events.Abstract.toJson() 方法

将事件编码为 JSON 格式。

Signature:

toJson(): AbstractEventJson;

返回

AbstractEventJson

JSON 表示法。