public class ObjectArraySerde extends java.lang.Object implements Serde<java.lang.Object[]>, CustomizableSerializer<java.lang.Object[]>, CustomizableDeserializer<java.lang.Object[]>
Serializer.EncoderContext
Deserializer.DecoderContext
Constructor and Description |
---|
ObjectArraySerde() |
Modifier and Type | Method and Description |
---|---|
Deserializer<java.lang.Object[]> |
createSpecific(Deserializer.DecoderContext context,
io.micronaut.core.type.Argument<? super java.lang.Object[]> type)
Create a new child deserializer or return this if non is necessary for the given context.
|
Serializer<java.lang.Object[]> |
createSpecific(Serializer.EncoderContext context,
io.micronaut.core.type.Argument<? extends java.lang.Object[]> type)
Create a more specific serializer for the given definition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAbsent, isEmpty, serialize
allowNull, deserialize, getDefaultValue
public Deserializer<java.lang.Object[]> createSpecific(Deserializer.DecoderContext context, io.micronaut.core.type.Argument<? super java.lang.Object[]> type) throws SerdeException
Deserializer
createSpecific
in interface Deserializer<java.lang.Object[]>
context
- The decoder contexttype
- The context, including any annotation metadata and type information to narrow the deserializer typeSerdeException
public Serializer<java.lang.Object[]> createSpecific(Serializer.EncoderContext context, io.micronaut.core.type.Argument<? extends java.lang.Object[]> type) throws SerdeException
Serializer
createSpecific
in interface Serializer<java.lang.Object[]>
context
- The encoder contexttype
- The type definition including any annotation metadataSerdeException