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.
|
Copyright © 2008–2019 FasterXML. All rights reserved.