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.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
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.module.jaxb |
Package that contains support for using JAXB annotations for
configuring Jackson data-binding aspects.
|
Modifier and Type | Method and Description |
---|---|
static JsonFormat.Value |
JsonFormat.Value.empty() |
static JsonFormat.Value |
JsonFormat.Value.forPattern(String p) |
static JsonFormat.Value |
JsonFormat.Value.forShape(JsonFormat.Shape sh) |
static JsonFormat.Value |
JsonFormat.Value.from(JsonFormat ann) |
static JsonFormat.Value |
JsonFormat.Value.merge(JsonFormat.Value base,
JsonFormat.Value overrides)
Helper method that will try to combine values from two
JsonFormat.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 JsonFormat.Value |
JsonFormat.Value.mergeAll(JsonFormat.Value... values) |
JsonFormat.Value |
JsonFormat.Value.withFeature(JsonFormat.Feature f) |
JsonFormat.Value |
JsonFormat.Value.withLocale(Locale l) |
JsonFormat.Value |
JsonFormat.Value.withoutFeature(JsonFormat.Feature f) |
JsonFormat.Value |
JsonFormat.Value.withOverrides(JsonFormat.Value overrides) |
JsonFormat.Value |
JsonFormat.Value.withPattern(String p) |
JsonFormat.Value |
JsonFormat.Value.withShape(JsonFormat.Shape s) |
JsonFormat.Value |
JsonFormat.Value.withTimeZone(TimeZone tz) |
Modifier and Type | Method and Description |
---|---|
static JsonFormat.Value |
JsonFormat.Value.merge(JsonFormat.Value base,
JsonFormat.Value overrides)
Helper method that will try to combine values from two
JsonFormat.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 JsonFormat.Value |
JsonFormat.Value.mergeAll(JsonFormat.Value... values) |
JsonFormat.Value |
JsonFormat.Value.withOverrides(JsonFormat.Value overrides) |
Modifier and Type | Field and Description |
---|---|
static JsonFormat.Value |
BeanProperty.EMPTY_FORMAT |
Modifier and Type | Method and Description |
---|---|
abstract JsonFormat.Value |
BeanDescription.findExpectedFormat(JsonFormat.Value defValue)
Method for checking what is the expected format for POJO, as
defined by defaults and possible annotations.
|
JsonFormat.Value |
AnnotationIntrospector.findFormat(Annotated memberOrClass)
Method for finding format annotations for property or class.
|
JsonFormat.Value |
BeanProperty.findFormatOverrides(AnnotationIntrospector intr)
Deprecated.
|
JsonFormat.Value |
BeanProperty.Std.findFormatOverrides(AnnotationIntrospector intr)
Deprecated.
|
JsonFormat.Value |
BeanProperty.findPropertyFormat(MapperConfig<?> config,
Class<?> baseType)
Helper method used to look up format settings applicable to this property,
considering both possible per-type configuration settings
|
JsonFormat.Value |
BeanProperty.Std.findPropertyFormat(MapperConfig<?> config,
Class<?> baseType) |
JsonFormat.Value |
SerializerProvider.getDefaultPropertyFormat(Class<?> baseType) |
JsonFormat.Value |
DeserializationContext.getDefaultPropertyFormat(Class<?> baseType) |
abstract JsonFormat.Value |
DatabindContext.getDefaultPropertyFormat(Class<?> baseType) |
Modifier and Type | Method and Description |
---|---|
abstract JsonFormat.Value |
BeanDescription.findExpectedFormat(JsonFormat.Value defValue)
Method for checking what is the expected format for POJO, as
defined by defaults and possible annotations.
|
Modifier and Type | Field and Description |
---|---|
protected JsonFormat.Value |
ConfigOverride._format
Definitions of format overrides, if any.
|
protected static JsonFormat.Value |
MapperConfig.EMPTY_FORMAT |
Modifier and Type | Method and Description |
---|---|
JsonFormat.Value |
MapperConfigBase.getDefaultPropertyFormat(Class<?> type) |
abstract JsonFormat.Value |
MapperConfig.getDefaultPropertyFormat(Class<?> baseType)
Accessor for default format settings to use for serialization (and, to a degree
deserialization), considering baseline settings and per-type defaults
for given base type (if any).
|
JsonFormat.Value |
ConfigOverride.getFormat() |
Modifier and Type | Method and Description |
---|---|
MutableConfigOverride |
MutableConfigOverride.setFormat(JsonFormat.Value v) |
Modifier and Type | Method and Description |
---|---|
protected JsonFormat.Value |
StdDeserializer.findFormatOverrides(DeserializationContext ctxt,
BeanProperty prop,
Class<?> typeForDefaults)
Helper method that may be used to find if this deserializer has specific
JsonFormat settings, either via property, or through type-specific
defaulting. |
Modifier and Type | Field and Description |
---|---|
protected JsonFormat.Value |
ConcreteBeanPropertyBase._propertyFormat
Lazily accessed value for per-property format override definition.
|
Modifier and Type | Method and Description |
---|---|
JsonFormat.Value |
BasicBeanDescription.findExpectedFormat(JsonFormat.Value defValue) |
JsonFormat.Value |
JacksonAnnotationIntrospector.findFormat(Annotated ann) |
JsonFormat.Value |
AnnotationIntrospectorPair.findFormat(Annotated ann) |
JsonFormat.Value |
ConcreteBeanPropertyBase.findFormatOverrides(AnnotationIntrospector intr)
Deprecated.
|
JsonFormat.Value |
ConcreteBeanPropertyBase.findPropertyFormat(MapperConfig<?> config,
Class<?> baseType) |
Modifier and Type | Method and Description |
---|---|
JsonFormat.Value |
BasicBeanDescription.findExpectedFormat(JsonFormat.Value defValue) |
Modifier and Type | Method and Description |
---|---|
protected JsonFormat.Value |
StdSerializer.findFormatOverrides(SerializerProvider provider,
BeanProperty prop,
Class<?> typeForDefaults)
Helper method that may be used to find if this deserializer has specific
JsonFormat settings, either via property, or through type-specific
defaulting. |
Modifier and Type | Method and Description |
---|---|
protected static Boolean |
EnumSerializer._isShapeWrittenUsingIndex(Class<?> enumClass,
JsonFormat.Value format,
boolean fromClass)
Helper method called to check whether
|
static EnumSerializer |
EnumSerializer.construct(Class<?> enumClass,
SerializationConfig config,
BeanDescription beanDesc,
JsonFormat.Value format)
Factory method used by
BasicSerializerFactory
for constructing serializer instance of Enum types. |
Modifier and Type | Field and Description |
---|---|
protected static JsonFormat.Value |
JaxbAnnotationIntrospector.FORMAT_INT |
protected static JsonFormat.Value |
JaxbAnnotationIntrospector.FORMAT_STRING |
Modifier and Type | Method and Description |
---|---|
JsonFormat.Value |
JaxbAnnotationIntrospector.findFormat(Annotated m) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.