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.datatype.jsr310.deser | |
com.fasterxml.jackson.datatype.jsr310.ser | |
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.forLeniency(boolean lenient) |
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.withLenient(Boolean lenient) |
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.Bogus.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 |
BeanProperty.Bogus.findPropertyFormat(MapperConfig<?> config,
Class<?> baseType) |
JsonFormat.Value |
SerializerProvider.getDefaultPropertyFormat(Class<?> baseType) |
abstract JsonFormat.Value |
DatabindContext.getDefaultPropertyFormat(Class<?> baseType) |
JsonFormat.Value |
DeserializationContext.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 |
ConfigOverrides.findFormatDefaults(Class<?> type)
Specific accessor for finding {code JsonFormat.Value} for given type,
considering global default for leniency as well as per-type format
override (if any).
|
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 |
MapperConfigBase.getDefaultPropertyFormat(Class<?> type) |
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 | Method and Description |
---|---|
JsonFormat.Value |
BasicBeanDescription.findExpectedFormat(JsonFormat.Value defValue) |
JsonFormat.Value |
AnnotationIntrospectorPair.findFormat(Annotated ann) |
JsonFormat.Value |
JacksonAnnotationIntrospector.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,
Boolean defaultValue)
Helper method called to check whether serialization should be done using
index (number) or not.
|
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 | Method and Description |
---|---|
protected JSR310DateTimeDeserializerBase<?> |
InstantDeserializer._withFormatOverrides(DeserializationContext ctxt,
BeanProperty property,
JsonFormat.Value formatOverrides) |
protected JSR310DateTimeDeserializerBase<?> |
JSR310DateTimeDeserializerBase._withFormatOverrides(DeserializationContext ctxt,
BeanProperty property,
JsonFormat.Value formatOverrides) |
Modifier and Type | Method and Description |
---|---|
protected DateTimeFormatter |
DurationSerializer._useDateTimeFormatter(SerializerProvider prov,
JsonFormat.Value format) |
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 © 2021 JBoss by Red Hat. All rights reserved.