Package io.micronaut.serde.support
Interface SerdeRegistrar<T>
- Type Parameters:
T
- The serde type
- All Superinterfaces:
Deserializer<T>
,DeserializerRegistrar<T>
,io.micronaut.core.order.Ordered
,Serde<T>
,Serializer<T>
,SerializerRegistrar<T>
- All Known Implementing Classes:
ByteBufferSerde
,InetAddressSerde
,InstantSerde
,LocalDateSerde
,LocalDateTimeSerde
,LocalTimeSerde
,ObjectArraySerde
,OffsetDateTimeSerde
,YearSerde
,ZonedDateTimeSerde
@Internal
public interface SerdeRegistrar<T>
extends Serde<T>, SerializerRegistrar<T>, DeserializerRegistrar<T>
The registrar of
Serde
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.serde.Deserializer
Deserializer.DecoderContext
Nested classes/interfaces inherited from interface io.micronaut.serde.Serializer
Serializer.EncoderContext
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Methods inherited from interface io.micronaut.serde.Deserializer
allowNull, createSpecific, deserialize, deserializeNullable, getDefaultValue
Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
Methods inherited from interface io.micronaut.serde.Serializer
createSpecific, isAbsent, isEmpty, serialize
-
Method Details
-
getType
- Specified by:
getType
in interfaceDeserializerRegistrar<T>
- Specified by:
getType
in interfaceSerializerRegistrar<T>
- Returns:
- The serde argument type
-
getTypes
- Specified by:
getTypes
in interfaceDeserializerRegistrar<T>
- Specified by:
getTypes
in interfaceSerializerRegistrar<T>
- Returns:
- The multiple serde argument types
-