Intermact API Reference / @intermact/core / deserialize
Function: deserialize()
deserialize(
project,options?):DeserializedProgram
Defined in: packages/core/src/serialize/serialize.ts:179
Reconstruct a playable Player from a SerializedProject. Replays the timeline op-log on a fresh StoryboardBuilder (which re-applies the same compile-time baseline patches the original build did), rebuilds the object tree and signals, and assembles a Player.
The payload is structurally validated first (validateSerializedProject) so corrupt input fails fast with a clear serialization-error.
Parameters
project
options?
DeserializeOptions = {}