Interface DeserializationConfiguration


public interface DeserializationConfiguration
Configuration for deserialization.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    default boolean
    Whether a null field or a missing value for a primitive should fail the deserialization.
    boolean
    Whether to ignore unknown values during deserialization.
    boolean
    Whether null field should be annotated with a nullable annotations.
  • Field Details

  • 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 to false
      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 to false
      Returns:
      True if a null field or a missing value for a primitive should fail the deserialization