@Singleton @Primary public class ObjectDeserializer extends java.lang.Object implements CustomizableDeserializer<java.lang.Object>
Deserializer.DecoderContext
Constructor and Description |
---|
ObjectDeserializer(SerdeIntrospections introspections,
DeserializationConfiguration deserializationConfiguration) |
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.
|
<T> io.micronaut.serde.support.deserializers.DeserBean<T> |
getDeserializableBean(io.micronaut.core.type.Argument<T> type,
Deserializer.DecoderContext decoderContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowNull, deserialize, getDefaultValue
public ObjectDeserializer(SerdeIntrospections introspections, DeserializationConfiguration deserializationConfiguration)
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 <T> io.micronaut.serde.support.deserializers.DeserBean<T> getDeserializableBean(io.micronaut.core.type.Argument<T> type, Deserializer.DecoderContext decoderContext)