Top Description Fields Constructors Methods
com.fasterxml.jackson.annotation

public final Enum Nulls

extends Enum<Nulls>
Class Inheritance

Enumeration used with 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.

Field Summary

Modifier and TypeField and Description
public static final Nulls
AS_EMPTY

Value that indicates that value to assign should come from the value deserializer of the type, using method getEmptyValue().

public static final Nulls
DEFAULT

Pseudo-value used to indicate that defaults are to be used for handling, that is, this value specifies no explicit handling override.

public static final Nulls
FAIL

Value that indicates that an exception (of type that indicates input mismatch problem) is to be thrown, to indicate that null values are not accepted.

public static final Nulls
SET

Value 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)

public static final Nulls
SKIP

Value 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.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Nulls
public static Nulls[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

AS_EMPTYback to summary
public static final Nulls AS_EMPTY

Value that indicates that value to assign should come from the value deserializer of the type, using method getEmptyValue().

DEFAULTback to summary
public static final Nulls DEFAULT

Pseudo-value used to indicate that defaults are to be used for handling, that is, this value specifies no explicit handling override.

FAILback to summary
public static final Nulls FAIL

Value that indicates that an exception (of type that indicates input mismatch problem) is to be thrown, to indicate that null values are not accepted.

SETback to summary
public static final Nulls SET

Value 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)

SKIPback to summary
public static final Nulls SKIP

Value 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.

Constructor Detail

Nullsback to summary
private Nulls()

Method Detail

valueOfback to summary
public static Nulls valueOf(String name)
valuesback to summary
public static Nulls[] values()