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.
| Modifier and Type | Field 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 |
| 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 |
| 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. |
| Access | Constructor and Description |
|---|---|
| private |
| AS_EMPTY | back 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 | |
| DEFAULT | back 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. | |
| FAIL | back 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. | |
| SET | back 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 | |
| SKIP | back 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. | |
| Nulls | back to summary |
|---|---|
| private Nulls() | |
| valueOf | back to summary |
|---|---|
| public static Nulls valueOf(String name) | |
| values | back to summary |
|---|---|
| public static Nulls[] values() | |