Package | Description |
---|---|
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.ext |
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
|
com.fasterxml.jackson.databind.jsonFormatVisitors |
Classes used for exposing logical structure of POJOs as Jackson
sees it, and exposed via
ObjectMapper.acceptJsonFormatVisitor(Class, JsonFormatVisitorWrapper)
and
ObjectMapper.acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType, JsonFormatVisitorWrapper)
methods. |
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.ser.std |
Modifier and Type | Method and Description |
---|---|
void |
ObjectWriter.acceptJsonFormatVisitor(Class<?> type,
JsonFormatVisitorWrapper visitor)
Since 2.6
|
void |
ObjectMapper.acceptJsonFormatVisitor(Class<?> type,
JsonFormatVisitorWrapper visitor)
Method for visiting type hierarchy for given type, using specified visitor.
|
void |
ObjectWriter.acceptJsonFormatVisitor(JavaType type,
JsonFormatVisitorWrapper visitor)
Method for visiting type hierarchy for given type, using specified visitor.
|
void |
ObjectMapper.acceptJsonFormatVisitor(JavaType type,
JsonFormatVisitorWrapper visitor)
Method for visiting type hierarchy for given type, using specified visitor.
|
void |
JsonSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType type)
Default implementation simply calls
expectAnyFormat(JavaType) . |
Modifier and Type | Method and Description |
---|---|
void |
CoreXMLSerializers.XMLGregorianCalendarSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
SqlBlobSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
DOMSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
Modifier and Type | Class and Description |
---|---|
static class |
JsonFormatVisitorWrapper.Base
Empty "no-op" implementation of
JsonFormatVisitorWrapper , suitable for
sub-classing. |
Modifier and Type | Method and Description |
---|---|
void |
JsonFormatVisitable.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
Get the representation of the schema to which this serializer will conform.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultSerializerProvider.acceptJsonFormatVisitor(JavaType javaType,
JsonFormatVisitorWrapper visitor)
The method to be called by
ObjectMapper and ObjectWriter
to to expose the format of the given to to the given visitor |
Modifier and Type | Method and Description |
---|---|
void |
StringArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
Modifier and Type | Method and Description |
---|---|
protected void |
DateTimeSerializerBase._acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
boolean asNumber) |
protected boolean |
JsonValueSerializer._acceptJsonFormatVisitorForEnum(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
Class<?> enumType)
Overridable helper method used for special case handling of schema information for
Enums.
|
void |
StdArraySerializers.BooleanArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.ShortArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.CharArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.IntArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.LongArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.FloatArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.DoubleArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ToEmptyObjectSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
FileSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
EnumSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
Default implementation specifies no format.
|
void |
TokenBufferSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
NullSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StringSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
SerializableSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
RawSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
MapSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdJdkSerializers.AtomicBooleanSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdJdkSerializers.AtomicIntegerSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdJdkSerializers.AtomicLongSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
NumberSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ReferenceTypeSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdScalarSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ClassSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ByteBufferSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StaticListSerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
DateTimeSerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
AsArraySerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
NumberSerializers.Base.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdDelegatingSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ToStringSerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdKeySerializers.Dynamic.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
UUIDSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
SqlTimeSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ObjectArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
JsonValueSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ByteArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
BooleanSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
BeanSerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
protected void |
StdSerializer.visitArrayFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
JsonFormatTypes itemType) |
protected void |
StdSerializer.visitArrayFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
JsonSerializer<?> itemSerializer,
JavaType itemType) |
protected void |
StdSerializer.visitFloatFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
com.fasterxml.jackson.core.JsonParser.NumberType numberType)
Helper method that calls necessary visit method(s) to indicate that the
underlying JSON type is a floating-point JSON number.
|
protected void |
StdSerializer.visitIntFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
com.fasterxml.jackson.core.JsonParser.NumberType numberType)
Helper method that calls necessary visit method(s) to indicate that the
underlying JSON type is JSON Integer number.
|
protected void |
StdSerializer.visitIntFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
com.fasterxml.jackson.core.JsonParser.NumberType numberType,
JsonValueFormat format)
Helper method that calls necessary visit method(s) to indicate that the
underlying JSON type is JSON Integer number, but that there is also a further
format restriction involved.
|
protected void |
StdSerializer.visitStringFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
Helper method that calls necessary visit method(s) to indicate that the
underlying JSON type is JSON String.
|
protected void |
StdSerializer.visitStringFormat(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
JsonValueFormat format)
Helper method that calls necessary visit method(s) to indicate that the
underlying JSON type is JSON String, but that there is a more refined
logical type
|
Copyright © 2008–2022 FasterXML. All rights reserved.