Annotation Interface JsonIgnoreProperties
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,TYPE,METHOD,CONSTRUCTOR,FIELD})
public @interface JsonIgnoreProperties
Simplified annotation to ignore properties. To be replaced by
IgnoreProperties.- Author:
- Fasterxml/Jackson
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanProperty that defines whether it is ok to just ignore any unrecognized properties during deserialization.
-
Element Details
-
ignoreUnknown
boolean ignoreUnknownProperty that defines whether it is ok to just ignore any unrecognized properties during deserialization. If true, all properties that are unrecognized -- that is, there are no setters or creators that accept them -- are ignored without warnings (although handlers for unknown properties, if any, will still be called) without exception. 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
-