You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that @JsonProperty has "nullable" isRequired property (see FasterXML/jackson-annotations#284), JacksonAnnotationIntrospector needs to support it.
Logic is such that:
if isRequired has value other than OptBoolean.DEFAULT, it is used as THE choice of required-ness
otherwise if required = true, property is required
otherwise (required = false), either
Property is NOT required (Jackson 2.x)
Property MAY OR MAY NOT BE required wrt annotation (higher-level defaults used)
This logic is specifically meant to allow finer-grain overridability with working defaults: before this change, setting of @JsonProperty.required -- and often, specifically, its default (false) setting was used.