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.
|
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.std | |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
com.fasterxml.jackson.module.jaxb |
Package that contains support for using JAXB annotations for
configuring Jackson data-binding aspects.
|
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.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.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.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.
|
Modifier and Type | Field and Description |
---|---|
protected JsonInclude.Value |
SerializationConfig._serializationInclusion
Which Bean/Map properties are to be included in serialization?
Default settings is to include all regardless of value; can be
changed to only include non-null properties, or properties
with non-default values.
|
protected static JsonInclude.Value |
SerializationConfig.DEFAULT_INCLUSION |
static JsonInclude.Value |
BeanProperty.EMPTY_INCLUDE |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Value |
AnnotationIntrospector.findPropertyInclusion(Annotated a)
Method for checking inclusion criteria for a type (Class) or property (yes, method
name is bit unfortunate -- not just for properties!).
|
abstract JsonInclude.Value |
BeanDescription.findPropertyInclusion(JsonInclude.Value defValue)
Method for finding annotation-indicated inclusion definition (if any);
possibly overriding given default value.
|
JsonInclude.Value |
BeanProperty.findPropertyInclusion(MapperConfig<?> config,
Class<?> baseType)
Convenience method that is roughly equivalent to
|
JsonInclude.Value |
BeanProperty.Std.findPropertyInclusion(MapperConfig<?> config,
Class<?> baseType) |
JsonInclude.Value |
SerializationConfig.getDefaultPropertyInclusion() |
JsonInclude.Value |
DeserializationConfig.getDefaultPropertyInclusion() |
JsonInclude.Value |
SerializerProvider.getDefaultPropertyInclusion(Class<?> baseType) |
JsonInclude.Value |
SerializationConfig.getDefaultPropertyInclusion(Class<?> baseType) |
JsonInclude.Value |
DeserializationConfig.getDefaultPropertyInclusion(Class<?> baseType) |
JsonInclude.Value |
SerializationConfig.getDefaultPropertyInclusion(Class<?> baseType,
JsonInclude.Value defaultIncl) |
JsonInclude.Value |
DeserializationConfig.getDefaultPropertyInclusion(Class<?> baseType,
JsonInclude.Value defaultIncl) |
Modifier and Type | Method and Description |
---|---|
abstract JsonInclude.Value |
BeanDescription.findPropertyInclusion(JsonInclude.Value defValue)
Method for finding annotation-indicated inclusion definition (if any);
possibly overriding given default value.
|
JsonInclude.Value |
SerializationConfig.getDefaultPropertyInclusion(Class<?> baseType,
JsonInclude.Value defaultIncl) |
JsonInclude.Value |
DeserializationConfig.getDefaultPropertyInclusion(Class<?> baseType,
JsonInclude.Value defaultIncl) |
ObjectMapper |
ObjectMapper.setPropertyInclusion(JsonInclude.Value incl)
Method for setting default POJO property inclusion strategy for serialization.
|
SerializationConfig |
SerializationConfig.withPropertyInclusion(JsonInclude.Value incl) |
Modifier and Type | Field and Description |
---|---|
protected JsonInclude.Value |
ConfigOverride._include
Definitions of inclusion overrides, if any.
|
protected static JsonInclude.Value |
MapperConfig.EMPTY_INCLUDE |
Modifier and Type | Method and Description |
---|---|
abstract JsonInclude.Value |
MapperConfig.getDefaultPropertyInclusion()
Accessor for default property inclusion to use for serialization,
used unless overridden by per-type or per-property overrides.
|
abstract JsonInclude.Value |
MapperConfig.getDefaultPropertyInclusion(Class<?> baseType)
Accessor for default property inclusion to use for serialization,
considering possible per-type override for given base type.
NOTE: if no override found, defaults to value returned by MapperConfig.getDefaultPropertyInclusion() . |
abstract JsonInclude.Value |
MapperConfig.getDefaultPropertyInclusion(Class<?> baseType,
JsonInclude.Value defaultIncl)
Accessor for default property inclusion to use for serialization,
considering possible per-type override for given base type; but
if none found, returning given
defaultIncl |
JsonInclude.Value |
ConfigOverride.getInclude() |
Modifier and Type | Method and Description |
---|---|
abstract JsonInclude.Value |
MapperConfig.getDefaultPropertyInclusion(Class<?> baseType,
JsonInclude.Value defaultIncl)
Accessor for default property inclusion to use for serialization,
considering possible per-type override for given base type; but
if none found, returning given
defaultIncl |
MutableConfigOverride |
MutableConfigOverride.setInclude(JsonInclude.Value v) |
Modifier and Type | Field and Description |
---|---|
protected static JsonInclude.Value |
BeanPropertyDefinition.EMPTY_INCLUDE |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Value |
POJOPropertyBuilder.findInclusion() |
JsonInclude.Value |
BeanPropertyDefinition.findInclusion()
Method used to check if this property has specific inclusion override
associated with it or not.
|
JsonInclude.Value |
JacksonAnnotationIntrospector.findPropertyInclusion(Annotated a) |
JsonInclude.Value |
AnnotationIntrospectorPair.findPropertyInclusion(Annotated a) |
JsonInclude.Value |
BasicBeanDescription.findPropertyInclusion(JsonInclude.Value defValue)
Method for determining whether null properties should be written
out for a Bean of introspected type.
|
JsonInclude.Value |
ConcreteBeanPropertyBase.findPropertyInclusion(MapperConfig<?> config,
Class<?> baseType) |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Value |
BasicBeanDescription.findPropertyInclusion(JsonInclude.Value defValue)
Method for determining whether null properties should be written
out for a Bean of introspected type.
|
Modifier and Type | Field and Description |
---|---|
protected JsonInclude.Value |
PropertyBuilder._defaultInclusion
Default inclusion mode for properties of the POJO for which
properties are collected; possibly overridden on
per-property basis.
|
Modifier and Type | Method and Description |
---|---|
protected static Object |
VirtualBeanPropertyWriter._suppressableValue(JsonInclude.Value inclusion) |
protected static boolean |
VirtualBeanPropertyWriter._suppressNulls(JsonInclude.Value inclusion) |
Constructor and Description |
---|
VirtualBeanPropertyWriter(BeanPropertyDefinition propDef,
Annotations contextAnnotations,
JavaType declaredType,
JsonSerializer<?> ser,
TypeSerializer typeSer,
JavaType serType,
JsonInclude.Value inclusion)
Pass-through constructor that may be used by sub-classes that
want full control over implementation.
|
Constructor and Description |
---|
AttributePropertyWriter(String attrName,
BeanPropertyDefinition propDef,
Annotations contextAnnotations,
JavaType declaredType,
JsonInclude.Value inclusion) |
Modifier and Type | Method and Description |
---|---|
protected JsonInclude.Value |
StdSerializer.findIncludeOverrides(SerializerProvider provider,
BeanProperty prop,
Class<?> typeForDefaults) |
Modifier and Type | Field and Description |
---|---|
protected JsonInclude.Value |
SimpleBeanPropertyDefinition._inclusion |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Value |
SimpleBeanPropertyDefinition.findInclusion() |
Modifier and Type | Method and Description |
---|---|
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name,
PropertyMetadata metadata,
JsonInclude.Value inclusion) |
BeanPropertyDefinition |
SimpleBeanPropertyDefinition.withInclusion(JsonInclude.Value inclusion) |
Constructor and Description |
---|
SimpleBeanPropertyDefinition(AnnotatedMember member,
PropertyName fullName,
AnnotationIntrospector intr,
PropertyMetadata metadata,
JsonInclude.Value inclusion) |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Value |
JaxbAnnotationIntrospector.findPropertyInclusion(Annotated a) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.