Modifier and Type | Field and Description |
---|---|
protected static JsonInclude.Value |
JsonInclude.Value.EMPTY |
Modifier and Type | Method and Description |
---|---|
static JsonInclude.Value |
JsonInclude.Value.construct(JsonInclude.Include valueIncl,
JsonInclude.Include contentIncl)
Factory method to use for constructing an instance for components
|
static JsonInclude.Value |
JsonInclude.Value.construct(JsonInclude.Include valueIncl,
JsonInclude.Include contentIncl,
Class<?> valueFilter,
Class<?> contentFilter)
Factory method to use for constructing an instance for components
|
static JsonInclude.Value |
JsonInclude.Value.empty() |
static JsonInclude.Value |
JsonInclude.Value.from(JsonInclude src)
Factory method to use for constructing an instance from instance of
JsonInclude |
static JsonInclude.Value |
JsonInclude.Value.merge(JsonInclude.Value base,
JsonInclude.Value overrides)
Helper method that will try to combine values from two
JsonInclude.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 JsonInclude.Value |
JsonInclude.Value.mergeAll(JsonInclude.Value... values) |
JsonInclude.Value |
JsonInclude.Value.withContentFilter(Class<?> filter)
Mutant factory that will either
Set
content as USE_DEFAULTS
and contentFilter to filter (if filter not null);
or
Set content as ALWAYS (if filter null)
|
JsonInclude.Value |
JsonInclude.Value.withContentInclusion(JsonInclude.Include incl) |
JsonInclude.Value |
JsonInclude.Value.withOverrides(JsonInclude.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.
|
JsonInclude.Value |
JsonInclude.Value.withValueFilter(Class<?> filter)
Mutant factory that will either
Set
value as USE_DEFAULTS
and valueFilter to filter (if filter not null);
or
Set value as ALWAYS (if filter null)
|
JsonInclude.Value |
JsonInclude.Value.withValueInclusion(JsonInclude.Include incl) |
Modifier and Type | Method and Description |
---|---|
static JsonInclude.Value |
JsonInclude.Value.merge(JsonInclude.Value base,
JsonInclude.Value overrides)
Helper method that will try to combine values from two
JsonInclude.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 JsonInclude.Value |
JsonInclude.Value.mergeAll(JsonInclude.Value... values) |
JsonInclude.Value |
JsonInclude.Value.withOverrides(JsonInclude.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.