Skip to main content

Home > blockly > serialization > ISerializer > load

serialization.ISerializer.load() method

Loads the state of the plugin or system.

Signature:

load(state: object, workspace: Workspace): void;

Parameters

ParameterTypeDescription
stateobjectThe state of the system to deserialize. This will always be non-null.
workspaceWorkspaceThe workspace the system to deserialize is associated with.

Returns:

void