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 JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.EMPTY
Default instance has no explicitly ignored fields, does not ignore unknowns,
does not explicitly allow getters/setters (that is, ignorals apply to both),
but does use merging for combining overrides with base settings
|
Modifier and Type | Method and Description |
---|---|
static JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.construct(Set<String> ignored,
boolean ignoreUnknown,
boolean allowGetters,
boolean allowSetters,
boolean merge)
Factory method that may be used (although is NOT the recommended way)
to construct an instance from a full set of properties.
|
static JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.empty()
Accessor for default instances which has "empty" settings; that is:
No explicitly defined fields to ignore
Does not ignore unknown fields
Does not "allow" getters if property ignored (that is, ignorals apply to both setter and getter)
Does not "allow" setters if property ignored (that is, ignorals apply to both setter and getter)
Does use merge when combining overrides to base settings, such that `true` settings
for any of the properties results in `true`, and names of fields are combined (union)
|
static JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.forIgnoredProperties(Set<String> propNames) |
static JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.forIgnoredProperties(String... propNames) |
static JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.forIgnoreUnknown(boolean state) |
static JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.from(JsonIgnoreProperties src) |
static JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.merge(JsonIgnoreProperties.Value base,
JsonIgnoreProperties.Value overrides)
Helper method that will try to combine values from two
JsonIgnoreProperties.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). |
static JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.mergeAll(JsonIgnoreProperties.Value... values) |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withAllowGetters() |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withAllowSetters() |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withIgnored(Set<String> ignored) |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withIgnored(String... ignored) |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withIgnoreUnknown() |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withMerge() |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withoutAllowGetters() |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withoutAllowSetters() |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withoutIgnored() |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withoutIgnoreUnknown() |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withoutMerge() |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withOverrides(JsonIgnoreProperties.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 |
---|---|
static JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.merge(JsonIgnoreProperties.Value base,
JsonIgnoreProperties.Value overrides)
Helper method that will try to combine values from two
JsonIgnoreProperties.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). |
static JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.mergeAll(JsonIgnoreProperties.Value... values) |
JsonIgnoreProperties.Value |
JsonIgnoreProperties.Value.withOverrides(JsonIgnoreProperties.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 |
---|---|
JsonIgnoreProperties.Value |
AnnotationIntrospector.findPropertyIgnorals(Annotated ac)
Method for finding information about properties to ignore either by
name, or by more general specification ("ignore all unknown").
|
Modifier and Type | Field and Description |
---|---|
protected JsonIgnoreProperties.Value |
ConfigOverride._ignorals
Definitions of property ignoral (whether to serialize, deserialize
given logical property) overrides, if any.
|
Modifier and Type | Method and Description |
---|---|
JsonIgnoreProperties.Value |
MapperConfigBase.getDefaultPropertyIgnorals(Class<?> type) |
abstract JsonIgnoreProperties.Value |
MapperConfig.getDefaultPropertyIgnorals(Class<?> baseType)
Accessor for default property ignorals to use, if any, for given base type,
based on config overrides settings (see
MapperConfig.findConfigOverride(Class) ). |
JsonIgnoreProperties.Value |
MapperConfigBase.getDefaultPropertyIgnorals(Class<?> baseType,
AnnotatedClass actualClass) |
abstract JsonIgnoreProperties.Value |
MapperConfig.getDefaultPropertyIgnorals(Class<?> baseType,
AnnotatedClass actualClass)
Helper method that may be called to see if there are property ignoral
definitions from annotations (via
AnnotatedClass ) or through
"config overrides". |
JsonIgnoreProperties.Value |
ConfigOverride.getIgnorals() |
Modifier and Type | Method and Description |
---|---|
MutableConfigOverride |
MutableConfigOverride.setIgnorals(JsonIgnoreProperties.Value v) |
Modifier and Type | Method and Description |
---|---|
JsonIgnoreProperties.Value |
JacksonAnnotationIntrospector.findPropertyIgnorals(Annotated a) |
JsonIgnoreProperties.Value |
AnnotationIntrospectorPair.findPropertyIgnorals(Annotated a) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.