# Functions
AsDeserializerFunc casts the given deserialization function into a compatible Deserializer interface type.
AsInfallibleDeserializerFunc casts the given infallible deserialization function into a compatible Deserializer interface type.
AsInfallibleSerializerFunc casts the given infallible serialization function into a compatible Serializer interface type.
AsSerializerFunc casts the given serialization function into a compatible Serializer interface type.
Chain chains together two serdes to build a new serde instance to map from Src to Dst types.
Fuse combines two given Serializer and Deserializer with compatible types and returns a Serde implementation through serde.Fused.
NewJSON returns a new serde instance where some data (`T`) gets serialized to and deserialized from JSON as byte-array.
NewJSONDeserializer returns a deserializer function where a byte-array is deserialized into the specified data type.
NewJSONSerializer returns a serializer function where the input data (Src) gets serialized to JSON byte-array data.
NewProto returns a new serde instance where some data (`T`) gets serialized to and deserialized from a Protobuf byte-array.
NewProtoDeserializer returns a deserializer function where a byte-array is deserialized into a destination data type (T) using Protobuf.
NewProtoJSON returns a new serde instance where some data (`T`) gets serialized to and deserialized from Protobuf JSON.
NewProtoJSONDeserializer returns a deserializer function where a byte-array is deserialized into a destination model type (T) using Protobuf JSON.
NewProtoJSONSerializer returns a serializer function where the input data (T) gets serialized to Protobuf JSON byte-array data.
NewProtoSerializer returns a serializer function where the input data (T) gets serialized to Protobuf byte-array.
# Interfaces
Bytes is a Serde implementation used to serialize a Source type to and deserialize it from a byte array.
BytesDeserializer is a specialized Deserializer to deserialize a Source type from a byte array.
BytesSerializer is a specialized Serializer to serialize a Source type into a byte array.
Deserializer is used to deserialize a Source type from another Destination type.
Serde is used to serialize and deserialize from a Source to a Destination type.
Serializer is used to serialize a Source type into another Destination type.
# Type aliases
DeserializerFunc is a functional implementation of the Deserializer interface.
SerializerFunc is a functional implementation of the Serializer interface.