Package io.micronaut.serde.config
Interface DeserializationConfiguration
public interface DeserializationConfiguration
Configuration for deserialization.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Whether to ignore unknown values during deserialization.boolean
Whether 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
-