A serializer and deserializer for values of type T
Attributes
- R
Environment available to the deserializer
- T
Value type
- Companion:
- object
- Graph
- Supertypes
Members list
Value members
Concrete methods
Creates a new Serde that uses optional values. Null data will be mapped to None values.
Creates a new Serde that uses optional values. Null data will be mapped to None values.
Attributes
- Definition Classes
Creates a new Serde that executes its serialization and deserialization functions on the blocking threadpool.
Creates a new Serde that executes its serialization and deserialization functions on the blocking threadpool.
Attributes
- Definition Classes
Converts to a Serde of type U with pure transformations
Converts to a Serde of type U with pure transformations
Attributes
Inherited methods
Returns a new serializer that handles optional values and serializes them as nulls.
Returns a new serializer that handles optional values and serializes them as nulls.
Attributes
- Inherited from:
- Serializer
Serde that handles deserialization failures by returning a Task
Serde that handles deserialization failures by returning a Task
This is useful for explicitly handling deserialization failures.
Attributes
- Inherited from:
- Deserializer
Create a serializer for a type U based on the serializer for type T and a mapping function
Create a serializer for a type U based on the serializer for type T and a mapping function
Attributes
- Inherited from:
- Serializer
Create a serializer for a type U based on the serializer for type T and an effectful mapping function
Create a serializer for a type U based on the serializer for type T and an effectful mapping function
Attributes
- Inherited from:
- Serializer
Attributes
- Inherited from:
- Deserializer
Create a deserializer for a type U based on the deserializer for type T and a mapping function
Create a deserializer for a type U based on the deserializer for type T and a mapping function
Attributes
- Inherited from:
- Deserializer
Create a deserializer for a type U based on the deserializer for type T and an effectful mapping function
Create a deserializer for a type U based on the deserializer for type T and an effectful mapping function
Attributes
- Inherited from:
- Deserializer
When this serializer fails, attempt to deserialize with the alternative
When this serializer fails, attempt to deserialize with the alternative
If both deserializers fail, the error will be the last deserializer's exception.
Attributes
- Inherited from:
- Deserializer