io.github.netvl.picopickle.backends.collections
Convenient alias for PartialFunction.
Convenient alias for PartialFunction.
A type class for reading a backend representation into an object of the specified type.
A type class for reading a backend representation into an object of the specified type.
All deserialization is done by implicit instances of this trait.
Most clients don't need to subclass this trait directly; use Reader companion object to create readers.
Deserialization process can fail if its input is not valid. Consequently, readers are more like partial functions: they can fail on certain inputs.
target type
A type class trait for writing objects of the specified type to their backend representation.
A type class trait for writing objects of the specified type to their backend representation.
All serialization is done by implicit instances of this trait.
Most clients don't need to subclass this trait directly; use Writer companion object to create writers.
Serialization is a success-only process: correctly written serializers will always succeed to write their objects. It is expected that Writer instances can handle all values of their source types, that is, writers are like total functions.
source type
Contains various constructors for custom Readers.
Contains various constructors for custom Readers.
Contains various constructors for custom Writers.
Contains various constructors for custom Writers.