@proto-kit/sequencer • Docs
Documentation / @proto-kit/sequencer / DecodedStateSerializer
Class: DecodedStateSerializer
Constructors
new DecodedStateSerializer()
new DecodedStateSerializer():
DecodedStateSerializer
Returns
Methods
fromJSON()
staticfromJSON(json):TaskStateRecord
Parameters
• json: JSONEncodableState
Returns
Defined in
packages/sequencer/src/protocol/production/tasks/serializers/DecodedStateSerializer.ts:8
toJSON()
statictoJSON(input):JSONEncodableState
Parameters
• input: TaskStateRecord
Returns
Defined in
packages/sequencer/src/protocol/production/tasks/serializers/DecodedStateSerializer.ts:17