public static interface Deserializer.DecoderContext extends PropertyReferenceManager, DeserializerLocator, NamingStrategyLocator
Deserializer.deserialize(Decoder, io.micronaut.serde.Deserializer.DecoderContext, io.micronaut.core.type.Argument)
method along with the decoder.Modifier and Type | Method and Description |
---|---|
default io.micronaut.core.convert.ConversionService<?> |
getConversionService() |
default boolean |
hasView(java.lang.Class<?>... views) |
<B,P> PropertyReference<B,P> |
resolveReference(PropertyReference<B,P> reference)
Resolve a reference for the given type and value.
|
popManagedRef, pushManagedRef
findCustomDeserializer, findDeserializer, findDeserializer, getDeserializableSubtypes
findNamingStrategy
@NonNull default io.micronaut.core.convert.ConversionService<?> getConversionService()
default boolean hasView(java.lang.Class<?>... views)
views
- Views to check.true
iff any of the given views is enabled.@Internal @Nullable <B,P> PropertyReference<B,P> resolveReference(@NonNull PropertyReference<B,P> reference)
B
- The bean typeP
- The generic type of the valuereference
- The referencenull
if serialization should be skipped