Stay organized with collections Save and categorize content based on your preferences.

blockly > serialization > ISerializer > save

serialization.ISerializer.save() method

Saves the state of the plugin or system.

Signature:

save(workspace: Workspace): Object | null;

Parameters

Parameter Type Description
workspace Workspace The workspace the system to serialize is associated with.

Returns:

Object | null

A JS object containing the system's state, or null if there is no state to record.