A serializer and deserializer for values of type A.
Type parameters
- A
-
Value type
- R
-
Environment available to the deserializer
Attributes
- 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 thread pool.
Creates a new Serde that executes its serialization and deserialization functions on the blocking thread pool.
Attributes
- Definition Classes
Converts to a Serde of type B with pure transformations.
Converts to a Serde of type B 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 B based on the serializer for type A and a mapping function.
Create a serializer for a type B based on the serializer for type A and a mapping function.
Attributes
- Inherited from:
- Serializer
Create a serializer for a type B based on the serializer for type A and an effectful mapping function.
Create a serializer for a type B based on the serializer for type A and an effectful mapping function.
Attributes
- Inherited from:
- Serializer
Create a deserializer for a type B based on the deserializer for type A and a mapping function.
Create a deserializer for a type B based on the deserializer for type A and a mapping function.
Attributes
- Inherited from:
- Deserializer
Create a deserializer for a type B based on the deserializer for type A and an effectful mapping function.
Create a deserializer for a type B based on the deserializer for type A 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
Inherited and Abstract methods
Attributes
- Inherited from:
- Deserializer