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.ser.std | |
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
com.fasterxml.jackson.datatype.jdk8 | |
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
|
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) |
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
SerializationConfig.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.setSerializationInclusion(JsonInclude.Include incl)
Convenience method, equivalent to calling:
|
SerializationConfig |
SerializationConfig.withSerializationInclusion(JsonInclude.Include incl)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
JacksonAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue) |
JsonInclude.Include |
AnnotationIntrospectorPair.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
JsonInclude.Include |
JacksonAnnotationIntrospector.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
JsonInclude.Include |
AnnotationIntrospectorPair.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
JacksonAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue) |
JsonInclude.Include |
AnnotationIntrospectorPair.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
JsonInclude.Include |
JacksonAnnotationIntrospector.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
JsonInclude.Include |
AnnotationIntrospectorPair.findSerializationInclusionForContent(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected JsonInclude.Include |
ReferenceTypeSerializer._contentInclusion
Further guidance on serialization-inclusion (or not), regarding
contained value (if any).
|
Modifier and Type | Method and Description |
---|---|
protected abstract ReferenceTypeSerializer<T> |
ReferenceTypeSerializer.withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper,
JsonInclude.Include contentIncl) |
protected AtomicReferenceSerializer |
AtomicReferenceSerializer.withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper,
JsonInclude.Include contentIncl) |
Constructor and Description |
---|
AtomicReferenceSerializer(AtomicReferenceSerializer base,
BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper,
JsonInclude.Include contentIncl) |
ReferenceTypeSerializer(ReferenceTypeSerializer<?> base,
BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper,
JsonInclude.Include contentIncl) |
Modifier and Type | Method and Description |
---|---|
static SimpleBeanPropertyDefinition |
SimpleBeanPropertyDefinition.construct(MapperConfig<?> config,
AnnotatedMember member,
PropertyName name,
PropertyMetadata metadata,
JsonInclude.Include inclusion) |
Constructor and Description |
---|
SimpleBeanPropertyDefinition(AnnotatedMember member,
PropertyName fullName,
AnnotationIntrospector intr,
PropertyMetadata metadata,
JsonInclude.Include inclusion) |
Modifier and Type | Field and Description |
---|---|
protected JsonInclude.Include |
OptionalSerializer._contentInclusion
Further guidance on serialization-inclusion (or not), regarding
contained value (if any).
|
Modifier and Type | Method and Description |
---|---|
protected OptionalSerializer |
OptionalSerializer.withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper,
JsonInclude.Include contentIncl) |
Constructor and Description |
---|
OptionalSerializer(OptionalSerializer base,
BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper,
JsonInclude.Include contentIncl) |
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 |
JaxbAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
JsonInclude.Include |
JaxbAnnotationModule.getNonNillableInclusion() |
JsonInclude.Include |
JaxbAnnotationIntrospector.getNonNillableInclusion() |
Modifier and Type | Method and Description |
---|---|
JsonInclude.Include |
JaxbAnnotationIntrospector.findSerializationInclusion(Annotated a,
JsonInclude.Include defValue)
Deprecated.
|
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 © 2017 JBoss by Red Hat. All rights reserved.