public interface SerdeIntrospections
Modifier and Type | Method and Description |
---|---|
default <T> java.util.Collection<io.micronaut.core.beans.BeanIntrospection<? extends T>> |
findSubtypeDeserializables(java.lang.Class<T> type)
Gets an subtype introspection for the given type for deserialization.
|
default io.micronaut.core.beans.BeanIntrospector |
getBeanIntrospector()
The bean introspector to use.
|
<T> io.micronaut.core.beans.BeanIntrospection<T> |
getDeserializableIntrospection(io.micronaut.core.type.Argument<T> type)
Gets an introspection for the given type for deserialization.
|
<T> io.micronaut.core.beans.BeanIntrospection<T> |
getSerializableIntrospection(io.micronaut.core.type.Argument<T> type)
Gets an introspection for the given type for serialization.
|
@NonNull default io.micronaut.core.beans.BeanIntrospector getBeanIntrospector()
@NonNull <T> io.micronaut.core.beans.BeanIntrospection<T> getSerializableIntrospection(@NonNull io.micronaut.core.type.Argument<T> type)
T
- The generic typetype
- The typenull
io.micronaut.core.beans.exceptions.IntrospectionException
- if no introspection exists@NonNull <T> io.micronaut.core.beans.BeanIntrospection<T> getDeserializableIntrospection(@NonNull io.micronaut.core.type.Argument<T> type)
T
- The generic typetype
- The typenull
io.micronaut.core.beans.exceptions.IntrospectionException
- if no introspection exists@NonNull default <T> java.util.Collection<io.micronaut.core.beans.BeanIntrospection<? extends T>> findSubtypeDeserializables(@NonNull java.lang.Class<T> type)
T
- The generic typetype
- The typenull