Package | Description |
---|---|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
org.codehaus.jackson.map.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.
|
org.codehaus.jackson.map.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
org.codehaus.jackson.map.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(org.codehaus.jackson.map.Module) . |
org.codehaus.jackson.map.ser |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.map.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.map.ser.std | |
org.codehaus.jackson.xc |
Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
|
Modifier and Type | Class and Description |
---|---|
static class |
JsonSerializer.None
This marker class is only to be used with annotations, to
indicate that no serializer is configured.
|
Modifier and Type | Method and Description |
---|---|
JsonSerializer<T> |
ContextualSerializer.createContextual(SerializationConfig config,
BeanProperty property)
Method called to see if a different (or differently configured) serializer
is needed to serialize values of specified property.
|
abstract JsonSerializer<Object> |
SerializerFactory.createKeySerializer(SerializationConfig config,
JavaType baseType,
BeanProperty property)
Method called to create serializer to use for serializing JSON property names (which must
be output as
JsonToken.FIELD_NAME ) for Map that has specified declared
key type, and is for specified property (or, if property is null, as root value) |
JsonSerializer<Object> |
SerializerFactory.createSerializer(JavaType type,
SerializationConfig config)
Deprecated.
Since 1.7, call variant with more arguments
|
abstract JsonSerializer<Object> |
SerializerFactory.createSerializer(SerializationConfig config,
JavaType baseType,
BeanProperty property)
Method called to create (or, for immutable serializers, reuse) a serializer for given type.
|
JsonSerializer<?> |
Serializers.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Method called by serialization framework first time a serializer is needed for
specified array type.
|
JsonSerializer<?> |
Serializers.Base.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
abstract JsonSerializer<Object> |
SerializerProvider.findKeySerializer(JavaType keyType,
BeanProperty property)
Method called to get the serializer to use for serializing
non-null Map keys.
|
JsonSerializer<?> |
Serializers.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
BeanProperty property)
Method called by serialization framework first time a serializer is needed for
specified type, which is not of a container type (for which other methods are
called).
|
JsonSerializer<?> |
Serializers.Base.findSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
BeanProperty property) |
JsonSerializer<Object> |
SerializerProvider.findTypedValueSerializer(Class<?> valueType,
boolean cache)
Deprecated.
As of version 1.7, use version that exposes property object
instead of just its type (needed for contextual serializers)
|
abstract JsonSerializer<Object> |
SerializerProvider.findTypedValueSerializer(Class<?> valueType,
boolean cache,
BeanProperty property)
Method called to locate regular serializer, matching type serializer,
and if both found, wrap them in a serializer that calls both in correct
sequence.
|
JsonSerializer<Object> |
SerializerProvider.findTypedValueSerializer(JavaType valueType,
boolean cache)
Deprecated.
As of version 1.7, use version that exposes property object
instead of just its type (needed for contextual serializers)
|
abstract JsonSerializer<Object> |
SerializerProvider.findTypedValueSerializer(JavaType valueType,
boolean cache,
BeanProperty property)
Method called to locate regular serializer, matching type serializer,
and if both found, wrap them in a serializer that calls both in correct
sequence.
|
JsonSerializer<Object> |
SerializerProvider.findValueSerializer(Class<?> runtimeType)
Deprecated.
As of version 1.7, use version that exposes property object
instead of just its type (needed for contextual serializers)
|
abstract JsonSerializer<Object> |
SerializerProvider.findValueSerializer(Class<?> runtimeType,
BeanProperty property)
Method called to get hold of a serializer for a value of given type;
or if no such serializer can be found, a default handler (which
may do a best-effort generic serialization or just simply
throw an exception when invoked).
|
JsonSerializer<Object> |
SerializerProvider.findValueSerializer(JavaType serializationType)
Deprecated.
As of version 1.7, use version that exposes property object
instead of just its type (needed for contextual serializers)
|
abstract JsonSerializer<Object> |
SerializerProvider.findValueSerializer(JavaType serializationType,
BeanProperty property)
Similar to
SerializerProvider.findValueSerializer(Class) , but takes full generics-aware
type instead of raw class. |
JsonSerializer<Object> |
SerializerProvider.getKeySerializer()
Deprecated.
As of version 1.7, use version that exposes property object
instead of just its type (needed for contextual serializers)
|
JsonSerializer<Object> |
SerializerProvider.getKeySerializer(JavaType valueType,
BeanProperty property)
Deprecated.
As of version 1.8
|
abstract JsonSerializer<Object> |
SerializerProvider.getNullKeySerializer()
Method called to get the serializer to use for serializing
Map keys that are nulls: this is needed since JSON does not allow
any non-String value as key, including null.
|
abstract JsonSerializer<Object> |
SerializerProvider.getNullValueSerializer()
Method called to get the serializer to use for serializing
values (root level, Array members or List field values)
that are nulls.
|
abstract JsonSerializer<Object> |
SerializerProvider.getUnknownTypeSerializer(Class<?> unknownType)
Method called to get the serializer to use if provider
can not determine an actual type-specific serializer
to use; typically when none of
SerializerFactory
instances are able to construct a serializer. |
JsonSerializer<Object> |
SerializationConfig.serializerInstance(Annotated annotated,
Class<? extends JsonSerializer<?>> serClass) |
abstract JsonSerializer<?> |
HandlerInstantiator.serializerInstance(SerializationConfig config,
Annotated annotated,
Class<? extends JsonSerializer<?>> serClass)
Method called to get an instance of serializer of specified type.
|
JsonSerializer<T> |
JsonSerializer.unwrappingSerializer()
Method that will return serializer instance that produces
"unwrapped" serialization, if applicable for type being
serialized (which is the case for some serializers
that produce JSON Objects as output).
|
Modifier and Type | Method and Description |
---|---|
Class<? extends JsonSerializer<?>> |
AnnotationIntrospector.findContentSerializer(Annotated am)
Method for getting a serializer definition for content (values) of
associated
Collection , array or Map property. |
Class<? extends JsonSerializer<?>> |
AnnotationIntrospector.Pair.findContentSerializer(Annotated a) |
Class<? extends JsonSerializer<?>> |
AnnotationIntrospector.findKeySerializer(Annotated am)
Method for getting a serializer definition for keys of associated
Map property. |
Class<? extends JsonSerializer<?>> |
AnnotationIntrospector.Pair.findKeySerializer(Annotated a) |
Modifier and Type | Method and Description |
---|---|
JsonSerializer<?> |
Serializers.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Method called by serialization framework first time a serializer is needed for
specified array type.
|
JsonSerializer<?> |
Serializers.Base.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
abstract void |
SerializerProvider.setDefaultKeySerializer(JsonSerializer<Object> ks)
Method that can be used to specify serializer to use for serializing
all non-null JSON property names, unless more specific key serializer
is found (i.e.
|
abstract void |
SerializerProvider.setNullKeySerializer(JsonSerializer<Object> nks)
Method that can be used to specify serializer that will be
used to write JSON property names matching null keys for Java
Maps (which will throw an exception if try write such property
name)
|
abstract void |
SerializerProvider.setNullValueSerializer(JsonSerializer<Object> nvs)
Method that can be used to specify serializer that will be
used to write JSON values matching Java null values
instead of default one (which simply writes JSON null)
|
Modifier and Type | Method and Description |
---|---|
JsonSerializer<Object> |
SerializationConfig.serializerInstance(Annotated annotated,
Class<? extends JsonSerializer<?>> serClass) |
abstract JsonSerializer<?> |
HandlerInstantiator.serializerInstance(SerializationConfig config,
Annotated annotated,
Class<? extends JsonSerializer<?>> serClass)
Method called to get an instance of serializer of specified type.
|
Modifier and Type | Class and Description |
---|---|
static class |
CoreXMLSerializers.XMLGregorianCalendarSerializer |
class |
DOMSerializer |
static class |
JodaSerializers.DateMidnightSerializer |
static class |
JodaSerializers.DateTimeSerializer |
protected static class |
JodaSerializers.JodaSerializer<T> |
static class |
JodaSerializers.LocalDateSerializer |
static class |
JodaSerializers.LocalDateTimeSerializer |
Modifier and Type | Method and Description |
---|---|
JsonSerializer<?> |
OptionalHandlerFactory.findSerializer(SerializationConfig config,
JavaType type) |
Modifier and Type | Method and Description |
---|---|
Collection<Map.Entry<Class<?>,JsonSerializer<?>>> |
JodaSerializers.provide() |
Collection<Map.Entry<Class<?>,JsonSerializer<?>>> |
CoreXMLSerializers.provide() |
Modifier and Type | Method and Description |
---|---|
Class<? extends JsonSerializer<?>> |
JacksonAnnotationIntrospector.findContentSerializer(Annotated a) |
Class<? extends JsonSerializer<?>> |
JacksonAnnotationIntrospector.findKeySerializer(Annotated a) |
Modifier and Type | Field and Description |
---|---|
protected HashMap<ClassKey,JsonSerializer<?>> |
SimpleSerializers._classMappings
Class-based mappings that are used both for exact and
sub-class matches.
|
protected HashMap<ClassKey,JsonSerializer<?>> |
SimpleSerializers._interfaceMappings
Interface-based matches.
|
Modifier and Type | Method and Description |
---|---|
<T> SimpleModule |
SimpleModule.addKeySerializer(Class<? extends T> type,
JsonSerializer<T> ser) |
<T> void |
SimpleSerializers.addSerializer(Class<? extends T> type,
JsonSerializer<T> ser) |
<T> SimpleModule |
SimpleModule.addSerializer(Class<? extends T> type,
JsonSerializer<T> ser) |
void |
SimpleSerializers.addSerializer(JsonSerializer<?> ser)
Method for adding given serializer for type that
handledType()
specifies (which MUST return a non-null class; and can NOT be Object , as a
sanity check). |
SimpleModule |
SimpleModule.addSerializer(JsonSerializer<?> ser) |
JsonSerializer<?> |
SimpleSerializers.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
SimpleSerializers.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
SimpleSerializers.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
SimpleSerializers.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
SimpleSerializers.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
SimpleSerializers.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
JsonSerializer<?> |
SimpleSerializers.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
Modifier and Type | Class and Description |
---|---|
class |
BeanSerializer
Serializer class that can serialize arbitrary bean objects
|
static class |
StdSerializers.BooleanSerializer
Serializer used for primitive boolean, as well as java.util.Boolean
wrapper type.
|
static class |
StdSerializers.CalendarSerializer
Deprecated.
Since 1.9, use
DateSerializer instead |
static class |
StdSerializers.DoubleSerializer
This is the special serializer for regular
Double s
(and primitive doubles) |
static class |
StdSerializers.FloatSerializer |
static class |
StdSerializers.IntegerSerializer
This is the special serializer for regular
Integer s
(and primitive ints) |
static class |
StdSerializers.IntLikeSerializer
Similar to
StdSerializers.IntegerSerializer , but will not cast to Integer:
instead, cast is to Number , and conversion is
by calling Number.intValue() . |
static class |
StdSerializers.LongSerializer |
static class |
StdSerializers.NumberSerializer
As a fallback, we may need to use this serializer for other
types of
Number s (custom types). |
static class |
StdSerializers.SerializableSerializer
Deprecated.
Since 1.9, use
DateSerializer instead |
static class |
StdSerializers.SerializableWithTypeSerializer
Deprecated.
Since 1.9, use
DateSerializer instead |
static class |
StdSerializers.SqlDateSerializer
Compared to regular
StdSerializers.UtilDateSerializer , we do use String
representation here. |
static class |
StdSerializers.SqlTimeSerializer |
static class |
StdSerializers.StringSerializer
Deprecated.
Since 1.9, use
StringSerializer instead |
static class |
StdSerializers.UtilDateSerializer
Deprecated.
Since 1.9, use
DateSerializer instead |
Modifier and Type | Field and Description |
---|---|
protected JsonSerializer<?> |
CustomSerializerFactory._enumSerializerOverride
And for Enum handling we may specify a single default
serializer to use, regardless of actual enumeration.
|
protected JsonSerializer<Object> |
StdSerializerProvider._keySerializer
Serializer used to output non-null keys of Maps (which will get
output as JSON Objects), if not null; if null, us the standard
default key serializer.
|
protected JsonSerializer<Object> |
StdSerializerProvider._nullKeySerializer
Serializer used to (try to) output a null key, due to an entry of
Map having null key. |
protected JsonSerializer<Object> |
StdSerializerProvider._nullValueSerializer
Serializer used to output a null value.
|
protected JsonSerializer<Object> |
BeanPropertyWriter._serializer
Serializer to use for writing out the value: null if it can not
be known statically; non-null if it can.
|
protected JsonSerializer<Object> |
StdSerializerProvider._unknownTypeSerializer
Serializer that gets called for values of types for which no
serializers can be constructed.
|
static JsonSerializer<Object> |
StdSerializerProvider.DEFAULT_KEY_SERIALIZER
Deprecated.
Since 1.9, use
StdKeySerializers instead |
static JsonSerializer<Object> |
StdSerializerProvider.DEFAULT_NULL_KEY_SERIALIZER |
static JsonSerializer<Object> |
StdSerializerProvider.DEFAULT_UNKNOWN_SERIALIZER |
Modifier and Type | Field and Description |
---|---|
protected static HashMap<String,JsonSerializer<?>> |
BasicSerializerFactory._arraySerializers |
protected static HashMap<String,JsonSerializer<?>> |
BasicSerializerFactory._concrete
Since these are all JDK classes, we shouldn't have to worry
about ClassLoader used to load them.
|
protected static HashMap<String,Class<? extends JsonSerializer<?>>> |
BasicSerializerFactory._concreteLazy
Actually it may not make much sense to eagerly instantiate all
kinds of serializers: so this Map actually contains class references,
not instances
|
protected HashMap<ClassKey,JsonSerializer<?>> |
CustomSerializerFactory._directClassMappings
Direct mappings that are only used for exact class type
matches, but not for sub-class checks.
|
protected HashMap<ClassKey,JsonSerializer<?>> |
CustomSerializerFactory._interfaceMappings
And finally interface-based matches.
|
protected HashMap<ClassKey,JsonSerializer<?>> |
CustomSerializerFactory._transitiveClassMappings
And then class-based mappings that are used both for exact and
sub-class matches.
|
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<Object> |
StdSerializerProvider._createAndCacheUntypedSerializer(Class<?> type,
BeanProperty property)
Method that will try to construct a value serializer; and if
one is successfully created, cache it for reuse.
|
protected JsonSerializer<Object> |
StdSerializerProvider._createAndCacheUntypedSerializer(JavaType type,
BeanProperty property) |
protected JsonSerializer<Object> |
StdSerializerProvider._createUntypedSerializer(JavaType type,
BeanProperty property) |
protected JsonSerializer<Object> |
BeanPropertyWriter._findAndAddDynamic(PropertySerializerMap map,
Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<Object> |
StdSerializerProvider._findExplicitUntypedSerializer(Class<?> runtimeType,
BeanProperty property)
Method that will try to find a serializer, either from cache
or by constructing one; but will not return an "unknown" serializer
if this can not be done but rather returns null.
|
protected JsonSerializer<?> |
CustomSerializerFactory._findInterfaceMapping(Class<?> cls,
ClassKey key) |
protected JsonSerializer<Object> |
StdSerializerProvider._handleContextualResolvable(JsonSerializer<Object> ser,
BeanProperty property) |
JsonSerializer<?> |
BeanSerializerBuilder.build()
Method called to create
BeanSerializer instance with
all accumulated information. |
protected JsonSerializer<?> |
BasicSerializerFactory.buildArraySerializer(SerializationConfig config,
ArrayType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Object[] (and subtypes, except for String). |
protected JsonSerializer<?> |
BasicSerializerFactory.buildCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Collection and Collection-like types.
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildCollectionSerializer(SerializationConfig config,
CollectionType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
List types that support efficient by-index access |
JsonSerializer<?> |
BasicSerializerFactory.buildContainerSerializer(SerializationConfig config,
JavaType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildEnumMapSerializer(SerializationConfig config,
JavaType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
EnumMap types. |
protected JsonSerializer<?> |
BasicSerializerFactory.buildEnumSetSerializer(SerializationConfig config,
JavaType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildIterableSerializer(SerializationConfig config,
JavaType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildIteratorSerializer(SerializationConfig config,
JavaType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
all "Map-like" types; both ones that implement
Map and
ones that do not (but that have been indicated to behave like Maps). |
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapSerializer(SerializationConfig config,
MapType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Map types. |
protected JsonSerializer<Object> |
BeanSerializerFactory.constructBeanSerializer(SerializationConfig config,
BasicBeanDescription beanDesc,
BeanProperty property)
Method called to construct serializer for serializing specified bean type.
|
JsonSerializer<Object> |
BeanSerializerFactory.createKeySerializer(SerializationConfig config,
JavaType type,
BeanProperty property) |
JsonSerializer<Object> |
CustomSerializerFactory.createSerializer(SerializationConfig config,
JavaType type,
BeanProperty property) |
JsonSerializer<Object> |
BeanSerializerFactory.createSerializer(SerializationConfig config,
JavaType origType,
BeanProperty property)
Main serializer constructor method.
|
abstract JsonSerializer<Object> |
BasicSerializerFactory.createSerializer(SerializationConfig config,
JavaType type,
BeanProperty property) |
JsonSerializer<Object> |
BeanSerializerFactory.findBeanSerializer(SerializationConfig config,
JavaType type,
BasicBeanDescription beanDesc,
BeanProperty property)
Method that will try to construct a
BeanSerializer for
given class. |
protected static JsonSerializer<Object> |
BasicSerializerFactory.findContentSerializer(SerializationConfig config,
Annotated a,
BeanProperty property) |
protected JsonSerializer<?> |
CustomSerializerFactory.findCustomSerializer(Class<?> type,
SerializationConfig config) |
JsonSerializer<Object> |
StdSerializerProvider.findKeySerializer(JavaType keyType,
BeanProperty property) |
protected static JsonSerializer<Object> |
BasicSerializerFactory.findKeySerializer(SerializationConfig config,
Annotated a,
BeanProperty property) |
JsonSerializer<?> |
BasicSerializerFactory.findSerializerByAddonType(SerializationConfig config,
JavaType javaType,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping)
Reflection-based serialized find method, which checks if
given class implements one of recognized "add-on" interfaces.
|
JsonSerializer<?> |
BasicSerializerFactory.findSerializerByLookup(JavaType type,
SerializationConfig config,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping)
Method that will use fast lookup (and identity comparison) methods to
see if we know serializer to use for given type.
|
JsonSerializer<?> |
BasicSerializerFactory.findSerializerByPrimaryType(JavaType type,
SerializationConfig config,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping)
Method for checking if we can determine serializer to use based on set of
known primary types, checking for set of known base types (exact matches
having been compared against with
findSerializerByLookup ). |
protected JsonSerializer<Object> |
BasicSerializerFactory.findSerializerFromAnnotation(SerializationConfig config,
Annotated a,
BeanProperty property)
Helper method called to check if a class or method
has an annotation
(@link org.codehaus.jackson.map.ser.JsonSerialize#using)
that tells the class to use for serialization.
|
JsonSerializer<Object> |
StdSerializerProvider.findTypedValueSerializer(Class<?> valueType,
boolean cache,
BeanProperty property) |
JsonSerializer<Object> |
StdSerializerProvider.findTypedValueSerializer(JavaType valueType,
boolean cache,
BeanProperty property) |
JsonSerializer<Object> |
StdSerializerProvider.findValueSerializer(Class<?> valueType,
BeanProperty property) |
JsonSerializer<Object> |
StdSerializerProvider.findValueSerializer(JavaType valueType,
BeanProperty property)
This variant was added in 1.5, to allow for efficient access using full
structured types, not just classes.
|
JsonSerializer<Object> |
StdSerializerProvider.getNullKeySerializer() |
JsonSerializer<?> |
BasicSerializerFactory.getNullSerializer() |
JsonSerializer<Object> |
StdSerializerProvider.getNullValueSerializer() |
JsonSerializer<Object> |
BeanPropertyWriter.getSerializer() |
JsonSerializer<Object> |
StdSerializerProvider.getUnknownTypeSerializer(Class<?> unknownType) |
JsonSerializer<?> |
BeanSerializerModifier.modifySerializer(SerializationConfig config,
BasicBeanDescription beanDesc,
JsonSerializer<?> serializer)
Method called by
BeanSerializerFactory after constructing default
bean serializer instance with properties collected and ordered earlier. |
JsonSerializer<Object> |
BeanSerializer.unwrappingSerializer() |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<Object> |
StdSerializerProvider._handleContextualResolvable(JsonSerializer<Object> ser,
BeanProperty property) |
<T> void |
CustomSerializerFactory.addGenericMapping(Class<? extends T> type,
JsonSerializer<T> ser)
Method used to add a generic (transitive) mapping from specified
class or its sub-classes into a serializer.
|
<T> void |
CustomSerializerFactory.addSpecificMapping(Class<? extends T> forClass,
JsonSerializer<T> ser)
Method used to add a mapping from specific type -- and only that
type -- to specified serializer.
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildArraySerializer(SerializationConfig config,
ArrayType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Object[] (and subtypes, except for String). |
protected JsonSerializer<?> |
BasicSerializerFactory.buildCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Collection and Collection-like types.
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildCollectionSerializer(SerializationConfig config,
CollectionType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
List types that support efficient by-index access |
protected JsonSerializer<?> |
BasicSerializerFactory.buildEnumMapSerializer(SerializationConfig config,
JavaType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
EnumMap types. |
protected JsonSerializer<?> |
BasicSerializerFactory.buildEnumSetSerializer(SerializationConfig config,
JavaType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
all "Map-like" types; both ones that implement
Map and
ones that do not (but that have been indicated to behave like Maps). |
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
all "Map-like" types; both ones that implement
Map and
ones that do not (but that have been indicated to behave like Maps). |
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapSerializer(SerializationConfig config,
MapType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Map types. |
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapSerializer(SerializationConfig config,
MapType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Map types. |
protected BeanPropertyWriter |
PropertyBuilder.buildWriter(String name,
JavaType declaredType,
JsonSerializer<Object> ser,
TypeSerializer typeSer,
TypeSerializer contentTypeSer,
AnnotatedMember am,
boolean defaultUseStaticTyping) |
JsonSerializer<?> |
BeanSerializerModifier.modifySerializer(SerializationConfig config,
BasicBeanDescription beanDesc,
JsonSerializer<?> serializer)
Method called by
BeanSerializerFactory after constructing default
bean serializer instance with properties collected and ordered earlier. |
void |
StdSerializerProvider.setDefaultKeySerializer(JsonSerializer<Object> ks) |
void |
CustomSerializerFactory.setEnumSerializer(JsonSerializer<?> enumSer)
Method that can be used to force specified serializer to be used for
serializing all Enum instances.
|
void |
StdSerializerProvider.setNullKeySerializer(JsonSerializer<Object> nks) |
void |
StdSerializerProvider.setNullValueSerializer(JsonSerializer<Object> nvs) |
BeanPropertyWriter |
BeanPropertyWriter.withSerializer(JsonSerializer<Object> ser)
Method that will construct and return a new writer that has
same properties as this writer, but uses specified serializer
instead of currently configured one (if any).
|
Constructor and Description |
---|
BeanPropertyWriter(AnnotatedMember member,
Annotations contextAnnotations,
SerializedString name,
JavaType declaredType,
JsonSerializer<Object> ser,
TypeSerializer typeSer,
JavaType serType,
Method m,
Field f,
boolean suppressNulls,
Object suppressableValue) |
BeanPropertyWriter(AnnotatedMember member,
Annotations contextAnnotations,
String name,
JavaType declaredType,
JsonSerializer<Object> ser,
TypeSerializer typeSer,
JavaType serType,
Method m,
Field f,
boolean suppressNulls,
Object suppressableValue) |
BeanPropertyWriter(BeanPropertyWriter base,
JsonSerializer<Object> ser)
"Copy constructor" to be used by filtering sub-classes
|
MapSerializer(HashSet<String> ignoredEntries,
JavaType keyType,
JavaType valueType,
boolean valueTypeIsStatic,
TypeSerializer vts,
JsonSerializer<Object> keySerializer,
BeanProperty property)
Deprecated.
As of 1.8, use version that takes valueSerializer
|
MapSerializer(HashSet<String> ignoredEntries,
JavaType keyType,
JavaType valueType,
boolean valueTypeIsStatic,
TypeSerializer vts,
JsonSerializer<Object> keySerializer,
JsonSerializer<Object> valueSerializer,
BeanProperty property)
Deprecated.
|
MapSerializer(HashSet<String> ignoredEntries,
JavaType keyType,
JavaType valueType,
boolean valueTypeIsStatic,
TypeSerializer vts,
JsonSerializer<Object> keySerializer,
JsonSerializer<Object> valueSerializer,
BeanProperty property)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
FailingSerializer
Special bogus "serializer" that will throw
JsonGenerationException if its FailingSerializer.serialize(java.lang.Object, org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)
gets invoked. |
class |
UnknownSerializer |
class |
UnwrappingBeanSerializer |
Modifier and Type | Field and Description |
---|---|
JsonSerializer<Object> |
PropertySerializerMap.SerializerAndMapResult.serializer |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<Object> |
UnwrappingBeanPropertyWriter._findAndAddDynamic(PropertySerializerMap map,
Class<?> type,
SerializerProvider provider) |
JsonSerializer<Object> |
JsonSerializerMap.find(SerializerCache.TypeKey key) |
abstract JsonSerializer<Object> |
PropertySerializerMap.serializerFor(Class<?> type)
Main lookup method.
|
JsonSerializer<Object> |
SerializerCache.typedValueSerializer(Class<?> cls) |
JsonSerializer<Object> |
ReadOnlyClassToSerializerMap.typedValueSerializer(Class<?> cls) |
JsonSerializer<Object> |
SerializerCache.typedValueSerializer(JavaType type) |
JsonSerializer<Object> |
ReadOnlyClassToSerializerMap.typedValueSerializer(JavaType type) |
JsonSerializer<Object> |
SerializerCache.untypedValueSerializer(Class<?> type)
Method that checks if the shared (and hence, synchronized) lookup Map might have
untyped serializer for given type.
|
JsonSerializer<Object> |
ReadOnlyClassToSerializerMap.untypedValueSerializer(Class<?> cls) |
JsonSerializer<Object> |
SerializerCache.untypedValueSerializer(JavaType type) |
JsonSerializer<Object> |
ReadOnlyClassToSerializerMap.untypedValueSerializer(JavaType type) |
JsonSerializer<Object> |
UnwrappingBeanSerializer.unwrappingSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
SerializerCache.addAndResolveNonTypedSerializer(Class<?> type,
JsonSerializer<Object> ser,
SerializerProvider provider) |
void |
SerializerCache.addAndResolveNonTypedSerializer(JavaType type,
JsonSerializer<Object> ser,
SerializerProvider provider) |
void |
SerializerCache.addTypedSerializer(Class<?> cls,
JsonSerializer<Object> ser) |
void |
SerializerCache.addTypedSerializer(JavaType type,
JsonSerializer<Object> ser)
Method called if none of lookups succeeded, and caller had to construct
a serializer.
|
abstract PropertySerializerMap |
PropertySerializerMap.newWith(Class<?> type,
JsonSerializer<Object> serializer) |
BeanPropertyWriter |
UnwrappingBeanPropertyWriter.withSerializer(JsonSerializer<Object> ser) |
Modifier and Type | Method and Description |
---|---|
static ReadOnlyClassToSerializerMap |
ReadOnlyClassToSerializerMap.from(HashMap<SerializerCache.TypeKey,JsonSerializer<Object>> src)
Factory method for creating the "blueprint" lookup map.
|
Constructor and Description |
---|
PropertySerializerMap.SerializerAndMapResult(JsonSerializer<Object> serializer,
PropertySerializerMap map) |
UnwrappingBeanPropertyWriter(BeanPropertyWriter base,
JsonSerializer<Object> ser) |
Constructor and Description |
---|
JsonSerializerMap(Map<SerializerCache.TypeKey,JsonSerializer<Object>> serializers) |
Modifier and Type | Class and Description |
---|---|
class |
AsArraySerializerBase<T>
Base class for serializers that will output contents as JSON
arrays; typically serializers used for
Collection
and array types. |
class |
BeanSerializerBase
Base class both for the standard bean serializer, and couple
of variants that only differ in small details.
|
class |
CalendarSerializer
Standard serializer for
Calendar . |
class |
CollectionSerializer
Fallback serializer for cases where Collection is not known to be
of type for which more specializer serializer exists (such as
index-accessible List).
|
class |
ContainerSerializerBase<T>
Intermediate base class for types that contain element(s) of
other types.
|
class |
DateSerializer
For efficiency, we will serialize Dates as longs, instead of
potentially more readable Strings.
|
class |
EnumMapSerializer
Specialized serializer for
EnumMap s. |
class |
EnumSerializer
Standard serializer used for
Enum types. |
class |
EnumSetSerializer |
class |
IndexedStringListSerializer
Efficient implementation for serializing
List s that contains Strings and are random-accessible. |
class |
InetAddressSerializer
Simple serializer for
InetAddress . |
class |
IterableSerializer |
class |
JsonValueSerializer
Serializer class that can serialize Object that have a
JsonValue annotation to
indicate that serialization should be done by calling the method
annotated, and serializing result it returns. |
class |
MapSerializer
Standard serializer implementation for serializing {link java.util.Map} types.
|
class |
NonTypedScalarSerializerBase<T>
Intermediate base class for limited number of scalar types
that should never include type information.
|
class |
NullSerializer
This is a simple dummy serializer that will just output literal
JSON null value whenever serialization is requested.
|
class |
ObjectArraySerializer
Generic serializer for Object arrays (
Object[] ). |
class |
RawSerializer<T>
This is a simple dummy serializer that will just output raw values by calling toString()
on value to serialize.
|
class |
ScalarSerializerBase<T> |
class |
SerializableSerializer
Generic handler for types that implement
JsonSerializable . |
class |
SerializableWithTypeSerializer
Generic handler for types that implement
JsonSerializableWithType . |
class |
SerializerBase<T>
Base class used by all standard serializers.
|
class |
StaticListSerializerBase<T extends Collection<?>>
Intermediate base class for Lists, Collections and Arrays
that contain static (non-dynamic) value types.
|
static class |
StdArraySerializers.ArraySerializerBase<T>
Base class for serializers that will output contents as JSON
arrays.
|
static class |
StdArraySerializers.BooleanArraySerializer |
static class |
StdArraySerializers.ByteArraySerializer
Unlike other integral number array serializers, we do not just print out byte values
as numbers.
|
static class |
StdArraySerializers.CharArraySerializer
Character arrays are different from other integral number arrays in that
they are most likely to be textual data, and should be written as
Strings, not arrays of entries.
|
static class |
StdArraySerializers.DoubleArraySerializer |
static class |
StdArraySerializers.FloatArraySerializer |
static class |
StdArraySerializers.IntArraySerializer |
static class |
StdArraySerializers.LongArraySerializer |
static class |
StdArraySerializers.ShortArraySerializer |
static class |
StdArraySerializers.StringArraySerializer
Standard serializer used for
String[] values. |
static class |
StdContainerSerializers.IndexedListSerializer
This is an optimized serializer for Lists that can be efficiently
traversed by index (as opposed to others, such as
LinkedList
that can not}. |
static class |
StdContainerSerializers.IteratorSerializer |
static class |
StdJdkSerializers.AtomicBooleanSerializer |
static class |
StdJdkSerializers.AtomicIntegerSerializer |
static class |
StdJdkSerializers.AtomicLongSerializer |
static class |
StdJdkSerializers.AtomicReferenceSerializer |
static class |
StdJdkSerializers.ClassSerializer
Also: default bean access will not do much good with Class.class.
|
static class |
StdJdkSerializers.FileSerializer
For now, File objects get serialized by just outputting
absolute (but not canonical) name as String value
|
class |
StdKeySerializer
Specialized serializer that can be used as the generic key
serializer, when serializing
Map s to JSON
Objects. |
static class |
StdKeySerializers.CalendarKeySerializer |
static class |
StdKeySerializers.DateKeySerializer |
static class |
StdKeySerializers.StringKeySerializer |
class |
StringCollectionSerializer
Efficient implement for serializing
Collection s that contain Strings. |
class |
StringSerializer
This is the special serializer for regular
String s. |
class |
TimeZoneSerializer |
class |
TokenBufferSerializer
We also want to directly support serialization of
TokenBuffer ;
and since it is part of core package, it can not implement
JsonSerializable
(which is only included in the mapper package) |
class |
ToStringSerializer
Simple general purpose serializer, useful for any
type for which
Object.toString() returns the desired JSON
value. |
Modifier and Type | Field and Description |
---|---|
protected JsonSerializer<Object> |
StdArraySerializers.StringArraySerializer._elementSerializer
Value serializer to use, if it's not the standard one
(if it is we can optimize serialization a lot)
|
protected JsonSerializer<Object> |
ObjectArraySerializer._elementSerializer
Value serializer to use, if it can be statically determined.
|
protected JsonSerializer<Object> |
AsArraySerializerBase._elementSerializer
Value serializer to use, if it can be statically determined
|
protected JsonSerializer<Object> |
MapSerializer._keySerializer
Key serializer to use, if it can be statically determined
|
protected JsonSerializer<String> |
StringCollectionSerializer._serializer |
protected JsonSerializer<String> |
IndexedStringListSerializer._serializer |
protected JsonSerializer<Object> |
MapSerializer._valueSerializer
Value serializer to use, if it can be statically determined
|
protected JsonSerializer<Object> |
JsonValueSerializer._valueSerializer |
protected JsonSerializer<Object> |
EnumMapSerializer._valueSerializer
Value serializer to use, if it can be statically determined
|
protected static JsonSerializer<Object> |
StdKeySerializers.DEFAULT_KEY_SERIALIZER |
protected static JsonSerializer<Object> |
StdKeySerializers.DEFAULT_STRING_SERIALIZER |
protected static JsonSerializer<?> |
StdKeySerializers.DateKeySerializer.instance |
protected static JsonSerializer<?> |
StdKeySerializers.CalendarKeySerializer.instance |
Modifier and Type | Method and Description |
---|---|
static ContainerSerializerBase<?> |
StdContainerSerializers.collectionSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<Object> valueSerializer) |
static MapSerializer |
MapSerializer.construct(String[] ignoredList,
JavaType mapType,
boolean staticValueType,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<Object> keySerializer,
JsonSerializer<Object> valueSerializer) |
static MapSerializer |
MapSerializer.construct(String[] ignoredList,
JavaType mapType,
boolean staticValueType,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<Object> keySerializer,
JsonSerializer<Object> valueSerializer) |
static ContainerSerializerBase<?> |
StdContainerSerializers.indexedListSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<Object> valueSerializer) |
protected boolean |
SerializerBase.isDefaultSerializer(JsonSerializer<?> serializer)
Method that can be called to determine if given serializer is the default
serializer Jackson uses; as opposed to a custom serializer installed by
a module or calling application.
|
protected boolean |
JsonValueSerializer.isNaturalTypeWithStdHandling(JavaType type,
JsonSerializer<?> ser) |
void |
CollectionSerializer.serializeContentsUsing(Collection<?> value,
JsonGenerator jgen,
SerializerProvider provider,
JsonSerializer<Object> ser) |
protected void |
EnumMapSerializer.serializeContentsUsing(EnumMap<? extends Enum<?>,?> value,
JsonGenerator jgen,
SerializerProvider provider,
JsonSerializer<Object> valueSer) |
void |
StdContainerSerializers.IndexedListSerializer.serializeContentsUsing(List<?> value,
JsonGenerator jgen,
SerializerProvider provider,
JsonSerializer<Object> ser) |
void |
ObjectArraySerializer.serializeContentsUsing(Object[] value,
JsonGenerator jgen,
SerializerProvider provider,
JsonSerializer<Object> ser) |
protected void |
MapSerializer.serializeFieldsUsing(Map<?,?> value,
JsonGenerator jgen,
SerializerProvider provider,
JsonSerializer<Object> ser)
Method called to serialize fields, when the value type is statically known,
so that value serializer is passed and does not need to be fetched from
provider.
|
Modifier and Type | Class and Description |
---|---|
class |
DataHandlerJsonSerializer |
class |
DomElementJsonSerializer |
class |
XmlAdapterJsonSerializer |
Modifier and Type | Field and Description |
---|---|
protected JsonSerializer<?> |
JaxbAnnotationIntrospector._dataHandlerSerializer |
Modifier and Type | Method and Description |
---|---|
JsonSerializer<?> |
JaxbAnnotationIntrospector.findSerializer(Annotated am) |