Interface SerializationHint

All Known Subinterfaces:
SerializationHint.SimpleHint
All Known Implementing Classes:
Resp3Type, SerializationHint.KeyValueHint

public interface SerializationHint
Hints the serializer for nested object's type.

Nested objects, such as arrays and maps, are nested with many objects. The hint aids the serializer in identifying the type of elements inside the structure. This approach avoids traversing the complete list of serializers in the system.

The hints only work for 1-level nested objects. Deeply nested or heterogeneous structures utilize an unknown hint and search the registry for a match. There is a distinction between SerializationHint.SimpleHint and SerializationHint.KeyValueHint.

Author:
José Bolina