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.ValueJsonInclude.Value.EMPTYMethods in com.fasterxml.jackson.annotation that return JsonInclude.ValueModifier and TypeMethodDescriptionstatic JsonInclude.ValueJsonInclude.Value.construct(JsonInclude.Include valueIncl, JsonInclude.Include contentIncl) Factory method to use for constructing an instance for componentsstatic JsonInclude.ValueJsonInclude.Value.construct(JsonInclude.Include valueIncl, JsonInclude.Include contentIncl, Class<?> valueFilter, Class<?> contentFilter) Factory method to use for constructing an instance for componentsstatic JsonInclude.ValueJsonInclude.Value.empty()static JsonInclude.ValueJsonInclude.Value.from(JsonInclude src) Factory method to use for constructing an instance from instance ofJsonIncludestatic JsonInclude.ValueJsonInclude.Value.merge(JsonInclude.Value base, JsonInclude.Value overrides) Helper method that will try to combine values from twoJsonInclude.Valueinstances, 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.ValueJsonInclude.Value.mergeAll(JsonInclude.Value... values) JsonInclude.Value.withContentFilter(Class<?> filter) Mutant factory that will either SetcontentasUSE_DEFAULTSandcontentFiltertofilter(if filter not null); or SetcontentasALWAYS(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 SetvalueasUSE_DEFAULTSandvalueFiltertofilter(if filter not null); or SetvalueasALWAYS(if filter null)JsonInclude.Value.withValueInclusion(JsonInclude.Include incl) Methods in com.fasterxml.jackson.annotation with parameters of type JsonInclude.ValueModifier and TypeMethodDescriptionstatic JsonInclude.ValueJsonInclude.Value.merge(JsonInclude.Value base, JsonInclude.Value overrides) Helper method that will try to combine values from twoJsonInclude.Valueinstances, 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.ValueJsonInclude.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.