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 |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
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.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 | Method and Description |
---|---|
static JsonInclude.Include |
JsonInclude.Include.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonInclude.Include[] |
JsonInclude.Include.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected JsonInclude.Include |
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.
|
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
AnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Method for checking whether given annotated entity (class, method,
field) defines which Bean/Map properties are to be included in
serialization.
|
abstract JsonInclude.Include |
BeanDescription.findSerializationInclusion(JsonInclude.Include defValue) |
JsonInclude.Include |
AnnotationIntrospector.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue)
Method for checking whether content (entries) of a
Map property
are to be included during serialization or not. |
abstract JsonInclude.Include |
BeanDescription.findSerializationInclusionForContent(JsonInclude.Include defValue) |
JsonInclude.Include |
SerializationConfig.getSerializationInclusion() |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
AnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Method for checking whether given annotated entity (class, method,
field) defines which Bean/Map properties are to be included in
serialization.
|
abstract JsonInclude.Include |
BeanDescription.findSerializationInclusion(JsonInclude.Include defValue) |
JsonInclude.Include |
AnnotationIntrospector.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue)
Method for checking whether content (entries) of a
Map property
are to be included during serialization or not. |
abstract JsonInclude.Include |
BeanDescription.findSerializationInclusionForContent(JsonInclude.Include defValue) |
ObjectMapper |
ObjectMapper.setSerializationInclusion(JsonInclude.Include incl)
Method for setting defalt POJO property inclusion strategy for serialization.
|
SerializationConfig |
SerializationConfig.withSerializationInclusion(JsonInclude.Include incl) |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
JacksonAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue) |
JsonInclude.Include |
AnnotationIntrospectorPair.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue) |
JsonInclude.Include |
BasicBeanDescription.findSerializationInclusion(JsonInclude.Include defValue)
Method for determining whether null properties should be written
out for a Bean of introspected type.
|
JsonInclude.Include |
JacksonAnnotationIntrospector.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue) |
JsonInclude.Include |
AnnotationIntrospectorPair.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue) |
JsonInclude.Include |
BasicBeanDescription.findSerializationInclusionForContent(JsonInclude.Include defValue) |
Modifier and Type | Field and Description |
---|---|
protected JsonInclude.Include |
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.Include inclusion) |
protected static boolean |
VirtualBeanPropertyWriter._suppressNulls(JsonInclude.Include inclusion) |
Constructor and Description |
---|
VirtualBeanPropertyWriter(BeanPropertyDefinition propDef,
Annotations contextAnnotations,
JavaType declaredType,
JsonSerializer<?> ser,
TypeSerializer typeSer,
JavaType serType,
JsonInclude.Include 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.Include inclusion) |
Modifier and Type | Field and Description |
---|---|
protected JsonInclude.Include |
SimpleBeanPropertyDefinition._inclusion |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
SimpleBeanPropertyDefinition.findInclusion() |
Modifier and Type | Method and Description |
---|---|
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name,
PropertyMetadata metadata,
JsonInclude.Include inclusion) |
BeanPropertyDefinition |
SimpleBeanPropertyDefinition.withInclusion(JsonInclude.Include inclusion) |
Constructor and Description |
---|
SimpleBeanPropertyDefinition(AnnotatedMember member,
PropertyName fullName,
AnnotationIntrospector intr,
PropertyMetadata metadata,
JsonInclude.Include inclusion) |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
JaxbAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Implementation of this method is slightly tricky, given that JAXB defaults differ
from Jackson defaults.
|
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
JaxbAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Implementation of this method is slightly tricky, given that JAXB defaults differ
from Jackson defaults.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.