Interface TypeSerializer<T>

Type Parameters:
T - the type
All Known Subinterfaces:
TypeSerializer.Annotated<V>
All Known Implementing Classes:
AbstractListChildSerializer, ScalarSerializer, ScalarSerializer.Annotated

public interface TypeSerializer<T>
Represents an object which can serialize and deserialize objects of a given type.

The type serializer interface has methods both for working with annotated types, and discarding annotated type information. If annotation information is desired, the TypeSerializer.Annotated interface overrides the standard TypeSerializer interface to prefer annotated type information.

Since:
4.0.0