Package | Description |
---|---|
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 ). |
Modifier and Type | Method and Description |
---|---|
MutableConfigOverride |
ObjectMapper.configOverride(Class<?> type)
Accessor for getting a mutable configuration override object for
given type, needed to add or change per-type overrides applied
to properties of given type.
|
MutableConfigOverride |
Module.SetupContext.configOverride(Class<?> type)
"Mutant accessor" for getting a mutable configuration override object for
given type, needed to add or change per-type overrides applied
to properties of given type.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Class<?>,MutableConfigOverride> |
ConfigOverrides._overrides
Per-type override definitions
|
Modifier and Type | Method and Description |
---|---|
MutableConfigOverride |
MutableConfigOverride.copy() |
MutableConfigOverride |
ConfigOverrides.findOrCreateOverride(Class<?> type) |
MutableConfigOverride |
MutableConfigOverride.setFormat(JsonFormat.Value v) |
MutableConfigOverride |
MutableConfigOverride.setIgnorals(JsonIgnoreProperties.Value v) |
MutableConfigOverride |
MutableConfigOverride.setInclude(JsonInclude.Value v)
Override inclusion setting for all properties contained in POJOs of the
associated type.
|
MutableConfigOverride |
MutableConfigOverride.setIncludeAsProperty(JsonInclude.Value v)
Override inclusion setting for properties of the associated type
regardless of the type of the POJO containing it.
|
MutableConfigOverride |
MutableConfigOverride.setIsIgnoredType(Boolean v) |
MutableConfigOverride |
MutableConfigOverride.setMergeable(Boolean v) |
MutableConfigOverride |
MutableConfigOverride.setSetterInfo(JsonSetter.Value v) |
MutableConfigOverride |
MutableConfigOverride.setVisibility(JsonAutoDetect.Value v) |
Modifier and Type | Method and Description |
---|---|
protected Map<Class<?>,MutableConfigOverride> |
ConfigOverrides._newMap() |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.withConfigOverride(Class<?> forType,
Consumer<MutableConfigOverride> handler)
Method for changing config overrides for specific type, through
callback to specific handler.
|
Constructor and Description |
---|
MutableConfigOverride(MutableConfigOverride src) |
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) |
Copyright © 2008–2022 FasterXML. All rights reserved.