Uses of Class
com.fasterxml.jackson.annotation.JsonInclude.Value
-
Uses of JsonInclude.Value in com.fasterxml.jackson.annotation
Fields in com.fasterxml.jackson.annotation declared as JsonInclude.ValueModifier and TypeFieldDescriptionprotected static final JsonInclude.Value
JsonInclude.Value.EMPTY
Methods in com.fasterxml.jackson.annotation that return JsonInclude.ValueModifier and TypeMethodDescriptionstatic JsonInclude.Value
JsonInclude.Value.construct
(JsonInclude.Include valueIncl, JsonInclude.Include contentIncl) Factory method to use for constructing an instance for componentsstatic JsonInclude.Value
JsonInclude.Value.construct
(JsonInclude.Include valueIncl, JsonInclude.Include contentIncl, Class<?> valueFilter, Class<?> contentFilter) Factory method to use for constructing an instance for componentsstatic JsonInclude.Value
JsonInclude.Value.empty()
static JsonInclude.Value
JsonInclude.Value.from
(JsonInclude src) Factory method to use for constructing an instance from instance ofJsonInclude
static JsonInclude.Value
JsonInclude.Value.merge
(JsonInclude.Value base, JsonInclude.Value overrides) Helper method that will try to combine values from twoJsonInclude.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.withContentFilter
(Class<?> filter) Mutant factory that will either Setcontent
asUSE_DEFAULTS
andcontentFilter
tofilter
(if filter not null); or Setcontent
asALWAYS
(if filter null)JsonInclude.Value.withContentInclusion
(JsonInclude.Include incl) 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.withValueFilter
(Class<?> filter) Mutant factory that will either Setvalue
asUSE_DEFAULTS
andvalueFilter
tofilter
(if filter not null); or Setvalue
asALWAYS
(if filter null)JsonInclude.Value.withValueInclusion
(JsonInclude.Include incl) Methods in com.fasterxml.jackson.annotation with parameters of type JsonInclude.ValueModifier and TypeMethodDescriptionstatic JsonInclude.Value
JsonInclude.Value.merge
(JsonInclude.Value base, JsonInclude.Value overrides) Helper method that will try to combine values from twoJsonInclude.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.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.