Skip to main content

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