Deserializes the given serialized value into a runtime value. Converts from storage/transmission format back to usable runtime objects.
The serialized representation to deserialize
The deserialized runtime value
Registers a custom transformer for serializing and deserializing a specific type. Allows the adapter to handle types beyond plain data (e.g., Date objects, custom classes).
Void (adapter is mutated with new transformer registered)
Serializes the given value into a serialized representation. Converts runtime values to a format suitable for storage or transmission.
The value to serialize (must be plain data, not custom class instances)
The serialized representation of the value
The
NoOpSerdeAdapterwill do nothing and is used for easily mockingIFlexibleSerdefor testing.IMPORT_PATH:
"@daiso-tech/core/serde/no-op-serde-adapter"