Package | Description |
---|---|
com.fasterxml.jackson.annotation |
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
com.fasterxml.jackson.databind.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
Modifier and Type | Field and Description |
---|---|
protected static JsonSetter.Value |
JsonSetter.Value.EMPTY
Default instance used in place of "default settings".
|
Modifier and Type | Method and Description |
---|---|
static JsonSetter.Value |
JsonSetter.Value.construct(Nulls nulls,
Nulls contentNulls)
Factory method that may be used (although is NOT the recommended way)
to construct an instance from a full set of properties.
|
static JsonSetter.Value |
JsonSetter.Value.empty()
Accessor for default instances which has "empty" settings; that is:
Null handling using global defaults,
Nulls.DEFAULT . |
static JsonSetter.Value |
JsonSetter.Value.forContentNulls(Nulls nulls) |
static JsonSetter.Value |
JsonSetter.Value.forValueNulls(Nulls nulls) |
static JsonSetter.Value |
JsonSetter.Value.forValueNulls(Nulls nulls,
Nulls contentNulls) |
static JsonSetter.Value |
JsonSetter.Value.from(JsonSetter src) |
static JsonSetter.Value |
JsonSetter.Value.merge(JsonSetter.Value base,
JsonSetter.Value overrides)
Helper method that will try to combine values from two
JsonSetter.Value
instances, using one as base settings, and the other as overrides
to use instead of base values when defined; base values are only
use if override does not specify a value (matching value is null
or logically missing). |
JsonSetter.Value |
JsonSetter.Value.withContentNulls(Nulls nulls) |
JsonSetter.Value |
JsonSetter.Value.withOverrides(JsonSetter.Value overrides)
Mutant factory method that merges values of this value with given override
values, so that any explicitly defined inclusion in overrides has precedence over
settings of this value instance.
|
JsonSetter.Value |
JsonSetter.Value.withValueNulls(Nulls nulls) |
JsonSetter.Value |
JsonSetter.Value.withValueNulls(Nulls valueNulls,
Nulls contentNulls) |
Modifier and Type | Method and Description |
---|---|
static JsonSetter.Value |
JsonSetter.Value.merge(JsonSetter.Value base,
JsonSetter.Value overrides)
Helper method that will try to combine values from two
JsonSetter.Value
instances, using one as base settings, and the other as overrides
to use instead of base values when defined; base values are only
use if override does not specify a value (matching value is null
or logically missing). |
JsonSetter.Value |
JsonSetter.Value.withOverrides(JsonSetter.Value overrides)
Mutant factory method that merges values of this value with given override
values, so that any explicitly defined inclusion in overrides has precedence over
settings of this value instance.
|
Modifier and Type | Method and Description |
---|---|
JsonSetter.Value |
AnnotationIntrospector.findSetterInfo(Annotated ann)
Method for finding possible settings for property, given annotations
on an accessor.
|
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.setDefaultSetterInfo(JsonSetter.Value v)
Method for setting default Setter configuration, regarding things like
merging, null-handling; used for properties for which there are
no per-type or per-property overrides (via annotations or config overrides).
|
Modifier and Type | Field and Description |
---|---|
protected JsonSetter.Value |
ConfigOverrides._defaultSetterInfo |
protected JsonSetter.Value |
ConfigOverride._setterInfo
Definitions of setter overrides regarding null handling
|
Modifier and Type | Method and Description |
---|---|
JsonSetter.Value |
ConfigOverrides.getDefaultSetterInfo() |
abstract JsonSetter.Value |
MapperConfig.getDefaultSetterInfo()
Accessor for the baseline setter info used as the global baseline,
not considering possible per-type overrides.
|
JsonSetter.Value |
MapperConfigBase.getDefaultSetterInfo() |
JsonSetter.Value |
ConfigOverride.getSetterInfo() |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.defaultSetterInfo(JsonSetter.Value v) |
void |
ConfigOverrides.setDefaultSetterInfo(JsonSetter.Value v) |
MutableConfigOverride |
MutableConfigOverride.setSetterInfo(JsonSetter.Value v) |
Constructor and Description |
---|
ConfigOverrides(Map<Class<?>,MutableConfigOverride> overrides,
JsonInclude.Value defIncl,
JsonSetter.Value defSetter,
VisibilityChecker<?> defVisibility,
Boolean defMergeable)
Deprecated.
Since 2.10
|
ConfigOverrides(Map<Class<?>,MutableConfigOverride> overrides,
JsonInclude.Value defIncl,
JsonSetter.Value defSetter,
VisibilityChecker<?> defVisibility,
Boolean defMergeable,
Boolean defLeniency) |
Modifier and Type | Method and Description |
---|---|
JsonSetter.Value |
AnnotationIntrospectorPair.findSetterInfo(Annotated a) |
JsonSetter.Value |
JacksonAnnotationIntrospector.findSetterInfo(Annotated a) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.