A serializer and deserializer for values of type A.
Type parameters
- A
-
Value type
- R
-
Environment available to the deserializer
Attributes
- Companion
- object
- Source
- Serde.scala
- 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
- Source
- Serde.scala
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
- Source
- Serde.scala
Converts to a Serde of type B with pure transformations.
Convert to a Serde of type B with effectful transformations.
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
- Source
- Serializer.scala
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
- Source
- Deserializer.scala
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
- Source
- Serializer.scala
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
- Source
- Serializer.scala
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
- Source
- Deserializer.scala
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
- Source
- Deserializer.scala
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
- Source
- Deserializer.scala
Inherited and Abstract methods
Attributes
- Inherited from:
- Deserializer
- Source
- Deserializer.scala
Attributes
- Inherited from:
- Serializer
- Source
- Serializer.scala