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.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.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 JsonInclude.Include |
JsonInclude.Value._contentInclusion |
protected JsonInclude.Include |
JsonInclude.Value._valueInclusion |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
JsonInclude.Value.getContentInclusion() |
JsonInclude.Include |
JsonInclude.Value.getValueInclusion() |
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 | 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
|
JsonInclude.Value |
JsonInclude.Value.withContentInclusion(JsonInclude.Include incl) |
JsonInclude.Value |
JsonInclude.Value.withValueInclusion(JsonInclude.Include incl) |
Constructor and Description |
---|
Value(JsonInclude.Include vi,
JsonInclude.Include ci,
Class<?> valueFilter,
Class<?> contentFilter) |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
AnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
JsonInclude.Include |
AnnotationIntrospector.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
JsonInclude.Include |
SerializationConfig.getSerializationInclusion()
Deprecated.
Since 2.7 use
MapperConfigBase.getDefaultPropertyInclusion() instead |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
AnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
JsonInclude.Include |
AnnotationIntrospector.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
ObjectMapper |
ObjectMapper.setDefaultPropertyInclusion(JsonInclude.Include incl)
Short-cut for:
|
ObjectMapper |
ObjectMapper.setSerializationInclusion(JsonInclude.Include incl)
Convenience method, equivalent to calling:
|
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
AnnotationIntrospectorPair.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
JsonInclude.Include |
AnnotationIntrospectorPair.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
AnnotationIntrospectorPair.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
JsonInclude.Include |
AnnotationIntrospectorPair.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name,
PropertyMetadata metadata,
JsonInclude.Include inclusion)
Method called to create instance for virtual properties.
|
Modifier and Type | Field and Description |
---|---|
protected JsonInclude.Include |
JaxbAnnotationModule._nonNillableInclusion
Value to pass to
JaxbAnnotationIntrospector.setNonNillableInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include)
if defined and non-null. |
protected JsonInclude.Include |
JaxbAnnotationIntrospector._nonNillableInclusion
Inclusion value to return for properties annotated with
XmlElement and XmlElementWrapper , in case nillable
property is left as false. |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
JaxbAnnotationModule.getNonNillableInclusion() |
JsonInclude.Include |
JaxbAnnotationIntrospector.getNonNillableInclusion() |
Modifier and Type | Method and Description |
---|---|
JaxbAnnotationModule |
JaxbAnnotationModule.setNonNillableInclusion(JsonInclude.Include incl) |
JaxbAnnotationIntrospector |
JaxbAnnotationIntrospector.setNonNillableInclusion(JsonInclude.Include incl)
Method to call to change inclusion criteria used for property annotated
with
XmlElement or XmlElementWrapper , with nillable
set as false . |
Copyright © 2019 JBoss by Red Hat. All rights reserved.