public class CustomizedObjectArrayDeserializer extends java.lang.Object implements Deserializer<java.lang.Object[]>
Deserializer.DecoderContext
Constructor and Description |
---|
CustomizedObjectArrayDeserializer(io.micronaut.core.type.Argument<java.lang.Object> componentType,
Deserializer<?> deserializer) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
deserialize(Decoder decoder,
Deserializer.DecoderContext decoderContext,
io.micronaut.core.type.Argument<? super java.lang.Object[]> type)
Deserializes from the current state of the
Decoder an object of type T . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowNull, createSpecific, getDefaultValue
public CustomizedObjectArrayDeserializer(io.micronaut.core.type.Argument<java.lang.Object> componentType, Deserializer<?> deserializer)
public java.lang.Object[] deserialize(Decoder decoder, Deserializer.DecoderContext decoderContext, io.micronaut.core.type.Argument<? super java.lang.Object[]> type) throws java.io.IOException
Deserializer
Decoder
an object of type T
.deserialize
in interface Deserializer<java.lang.Object[]>
decoder
- The decoder, never null
decoderContext
- The decoder context, never null
type
- The generic type to be deserializednull
only if Deserializer.allowNull()
returns true
java.io.IOException
- If an error occurs during deserialization of the object