Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/core / / fromJsonSafeRunState

Function: fromJsonSafeRunState()

ts
function fromJsonSafeRunState(state): RunState;

Defined in: packages/core/src/utils/binary-json.ts:410

Inverse of toJsonSafeRunState. Best-effort: legacy corrupted binary fields (numeric-key byte objects from schema <= 1.1 payloads) are repaired to Uint8Array; unrecoverable shapes are left as-is.

Parameters

ParameterType
stateWireRunState

Returns

RunState

Stable