Package io.micronaut.serde.config
Interface DeserializationConfiguration
public interface DeserializationConfiguration
Configuration for deserialization.
- 
Field Summary
Fields - 
Method Summary
Modifier and TypeMethodDescriptionintdefault booleanWhether a null field or a missing value for a primitive should fail the deserialization.booleanWhether to ignore unknown values during deserialization.booleanWhether null field should be annotated with a nullable annotations. 
- 
Field Details
- 
PREFIX
- See Also:
 
 
 - 
 - 
Method Details
- 
isIgnoreUnknown
@Bindable(defaultValue="true") boolean isIgnoreUnknown()Whether to ignore unknown values during deserialization.- Returns:
 - True if unknown values should simply be ignored.
 
 - 
getArraySizeThreshold
@Bindable(defaultValue="100") int getArraySizeThreshold()- Returns:
 - The array size thresh hold for use in binding. Defaults to 
100. 
 - 
isStrictNullable
@Bindable(defaultValue="false") boolean isStrictNullable()Whether null field should be annotated with a nullable annotations. Defaults tofalse- Returns:
 - True if null field should be annotated with a nullable annotations
 
 - 
isFailOnNullForPrimitives
@Bindable(defaultValue="false") default boolean isFailOnNullForPrimitives()Whether a null field or a missing value for a primitive should fail the deserialization. Defaults tofalse- Returns:
 - True if a null field or a missing value for a primitive should fail the deserialization
 
 
 -