Interface for serializing and deserializing task inputs and outputs.
The serializer is responsible for converting JavaScript values to/from strings for storage
persistence. The executor uses this to store task inputs and outputs in the database.
Requirements
Must handle all input and output types used by the application
Should preserve type information (Dates, etc.)
Must be deterministic (same input → same output)
Should handle circular references gracefully if they can be part of the input or output
Interface for serializing and deserializing task inputs and outputs.
The serializer is responsible for converting JavaScript values to/from strings for storage persistence. The executor uses this to store task inputs and outputs in the database.
Requirements
Example