blockly > serialization > ISerializer > load

serialization.ISerializer.load() method

Loads the state of the plugin or system.

Signature:

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

Parameters

Parameter Type Description
state Object The state of the system to deserialize. This will always be non-null.
workspace Workspace The workspace the system to deserialize is associated with.

Returns:

void