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

blockly > serialization > variables > VariableSerializer > load

serialization.variables.VariableSerializer.load() method

Deserializes the variable defined by the given state into the given workspace.

Signature:

load(state: State[], workspace: Workspace): void;

Parameters

Parameter Type Description
state State[] The state of the variables to deserialize.
workspace Workspace The workspace to deserialize into.

Returns:

void