The runtime/decoded type
The serialized/encoded representation type
IMPORT_PATH: "@daiso-tech/core/serde/contracts"
Name(s) for identifying this transformer in serialized output. Used to route deserialized data to the correct transformer. Can be a single name or array of aliases.
Deserializes a value from the serialized format to runtime format.
The value in serialized format
The value in deserialized/runtime format
Type guard checking if a value matches this transformer's type. Used during serialization to determine which transformer to apply.
The value to check
True if value should be serialized by this transformer, false otherwise
Serializes a value from runtime format to the serialized format.
The value in deserialized/runtime format
The value in serialized format (must include version field)
Custom serialization transformer for specialized handling of non-class objects. Provides type detection, serialization, and deserialization logic for custom types.
Use transformers for: