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<?> rawType,
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 |
DOMSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
CoreXMLSerializers.XMLGregorianCalendarSerializer.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 |
UnknownSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StringArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
FailingSerializer.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 |
ToStringSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
TokenBufferSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StringSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
Default implementation specifies no format.
|
void |
StdScalarSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdKeySerializer.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 |
StdDelegatingSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
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 |
StaticListSerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
SqlTimeSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
SqlDateSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
SerializableSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
RawSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ObjectArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
NumberSerializers.Base.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
NumberSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
NullSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
MapSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
JsonValueSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
FileSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
EnumSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
EnumMapSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
Deprecated.
We consider possibility here that an EnumMap might actually just be serialized
as something like a Record, given that number of keys is bound, just like
with Objects/Records (and not unbounded like regular maps)
|
void |
DateTimeSerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ClassSerializer.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) |
void |
AtomicReferenceSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
AsArraySerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
Copyright © 2014–2015 FasterXML. All rights reserved.