Annotation Interface IgnoreProperties


@Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE,METHOD,CONSTRUCTOR,FIELD}) public @interface IgnoreProperties
Simplified annotation to ignore properties. Similar to JsonIgnoreProperties in Jackson, but simplified/more generic here.
Author:
Holger Eichelberger, SSE
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Property that defines whether it is ok to just ignore any unrecognized properties during deserialization.
  • Element Details

    • ignoreUnknown

      boolean ignoreUnknown
      Property that defines whether it is ok to just ignore any unrecognized properties during deserialization. Does not have any effect on serialization.
      Returns:
      true if any and all unknown properties are to be ignored without exceptions (or other special handling); false otherwise.
      Default:
      false