public enum Nulls extends Enum<Nulls>
JsonSetter (for properties `nulls`
 and `contentNulls`)
 to define how explicit `null` values from input (if input format
 has the concept; JSON, for example does) are handled.| Enum Constant and Description | 
|---|
| AS_EMPTYValue that indicates that value to assign should come from the value
 deserializer of the type, using method  getEmptyValue(). | 
| DEFAULTPseudo-value used to indicate that defaults are to be used for handling,
 that is, this value specifies no explicit handling override. | 
| FAILValue that indicates that an exception (of type that indicates input mismatch
 problem) is to be thrown, to indicate that null values are not accepted. | 
| SETValue that indicates that an input null should result in assignment
 of Java `null` value of matching property (except where deserializer
 indicates other "null value" by overriding  getNullValue(...)method) | 
| SKIPValue that indicates that an input null value should be skipped and
 no assignment is to be made; this usually means that the property
 will have its default value. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Nulls | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Nulls[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Nulls SET
getNullValue(...)
 method)public static final Nulls SKIP
public static final Nulls FAIL
public static final Nulls AS_EMPTY
getEmptyValue().public static final Nulls DEFAULT
public static Nulls[] values()
for (Nulls c : Nulls.values()) System.out.println(c);
public static Nulls valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2008–2019 FasterXML. All rights reserved.