DocsReference@proto-kit/sequencerClassesDecodedStateSerializer

@proto-kit/sequencerDocs


Documentation / @proto-kit/sequencer / DecodedStateSerializer

Class: DecodedStateSerializer

Constructors

new DecodedStateSerializer()

new DecodedStateSerializer(): DecodedStateSerializer

Returns

DecodedStateSerializer

Methods

fromJSON()

static fromJSON(json): TaskStateRecord

Parameters

json: JSONEncodableState

Returns

TaskStateRecord

Defined in

packages/sequencer/src/protocol/production/tasks/serializers/DecodedStateSerializer.ts:8


toJSON()

static toJSON(input): JSONEncodableState

Parameters

input: TaskStateRecord

Returns

JSONEncodableState

Defined in

packages/sequencer/src/protocol/production/tasks/serializers/DecodedStateSerializer.ts:17