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.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
org.codehaus.jackson.map.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
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.map.type |
Package that contains concrete implementations of
JavaType , as
well as the factory (TypeFactory ) for
constructing instances from various input data types
(like Class , Type )
and programmatically (for structured types, arrays,
List s and Map s). |
org.codehaus.jackson.map.util |
Utility classes for Mapper package.
|
org.codehaus.jackson.node |
Contains concrete
JsonNode implementations
Jackson uses for the Tree model. |
Modifier and Type | Method and Description |
---|---|
TypeSerializer |
ObjectMapper.DefaultTypeResolverBuilder.buildTypeSerializer(SerializationConfig config,
JavaType baseType,
java.util.Collection<NamedType> subtypes,
BeanProperty property) |
TypeSerializer |
SerializerFactory.createTypeSerializer(JavaType baseType,
SerializationConfig config)
Deprecated.
Since 1.7, call variant with more arguments
|
abstract TypeSerializer |
SerializerFactory.createTypeSerializer(SerializationConfig config,
JavaType baseType,
BeanProperty property)
Method called to create a type information serializer for given base type,
if one is needed.
|
Modifier and Type | Method and Description |
---|---|
JsonSerializer<?> |
Serializers.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.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<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
Serializers.Base.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
void |
JsonSerializableWithType.serializeWithType(JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
JsonSerializer.serializeWithType(T value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer)
Method that can be called to ask implementation to serialize
values of type this serializer handles, using specified type serializer
for embedding necessary type information.
|
Modifier and Type | Method and Description |
---|---|
TypeSerializer |
TypeResolverBuilder.buildTypeSerializer(SerializationConfig config,
JavaType baseType,
java.util.Collection<NamedType> subtypes,
BeanProperty property)
Method for building type serializer based on current configuration
of this builder.
|
Modifier and Type | Class and Description |
---|---|
class |
AsArrayTypeSerializer
Type serializer that will embed type information in an array,
as the first element, and actual value as the second element.
|
class |
AsExternalTypeSerializer
Type serializer that preferably embeds type information as an "external"
type property; embedded in enclosing JSON object.
|
class |
AsPropertyTypeSerializer
Type serializer that preferably embeds type information as an additional
JSON Object property, if possible (when resulting serialization would
use JSON Object).
|
class |
AsWrapperTypeSerializer
Type wrapper that tries to use an extra JSON Object, with a single
entry that has type name as key, to serialize type information.
|
class |
TypeSerializerBase |
Modifier and Type | Method and Description |
---|---|
TypeSerializer |
StdTypeResolverBuilder.buildTypeSerializer(SerializationConfig config,
JavaType baseType,
java.util.Collection<NamedType> subtypes,
BeanProperty property) |
Modifier and Type | Method and Description |
---|---|
JsonSerializer<?> |
SimpleSerializers.findArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
SimpleSerializers.findCollectionLikeSerializer(SerializationConfig config,
CollectionLikeType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
SimpleSerializers.findCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
BeanProperty property,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
SimpleSerializers.findMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
JsonSerializer<?> |
SimpleSerializers.findMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer) |
Modifier and Type | Field and Description |
---|---|
protected TypeSerializer |
BeanPropertyWriter._typeSerializer
If property being serialized needs type information to be
included this is the type serializer to use.
|
Modifier and Type | Method and Description |
---|---|
TypeSerializer |
BasicSerializerFactory.createTypeSerializer(SerializationConfig config,
JavaType baseType,
BeanProperty property)
Method called to construct a type serializer for values with given declared
base type.
|
TypeSerializer |
BeanSerializerFactory.findPropertyContentTypeSerializer(JavaType containerType,
SerializationConfig config,
AnnotatedMember accessor,
BeanProperty property)
Method called to create a type information serializer for values of given
container property
if one is needed.
|
TypeSerializer |
BeanSerializerFactory.findPropertyTypeSerializer(JavaType baseType,
SerializationConfig config,
AnnotatedMember accessor,
BeanProperty property)
Method called to create a type information serializer for values of given
non-container property
if one is needed.
|
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<?> |
BasicSerializerFactory.buildArraySerializer(SerializationConfig config,
ArrayType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.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<java.lang.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<java.lang.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<java.lang.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<java.lang.Object> elementValueSerializer) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapLikeSerializer(SerializationConfig config,
MapLikeType type,
BasicBeanDescription beanDesc,
BeanProperty property,
boolean staticTyping,
JsonSerializer<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.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<java.lang.Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<java.lang.Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Map types. |
protected BeanPropertyWriter |
PropertyBuilder.buildWriter(java.lang.String name,
JavaType declaredType,
JsonSerializer<java.lang.Object> ser,
TypeSerializer typeSer,
TypeSerializer contentTypeSer,
AnnotatedMember am,
boolean defaultUseStaticTyping) |
protected boolean |
BasicSerializerFactory.usesStaticTyping(SerializationConfig config,
BasicBeanDescription beanDesc,
TypeSerializer typeSer,
BeanProperty property)
Helper method to check whether global settings and/or class
annotations for the bean class indicate that static typing
(declared types) should be used for properties.
|
Constructor and Description |
---|
BeanPropertyWriter(AnnotatedMember member,
Annotations contextAnnotations,
SerializedString name,
JavaType declaredType,
JsonSerializer<java.lang.Object> ser,
TypeSerializer typeSer,
JavaType serType,
java.lang.reflect.Method m,
java.lang.reflect.Field f,
boolean suppressNulls,
java.lang.Object suppressableValue) |
BeanPropertyWriter(AnnotatedMember member,
Annotations contextAnnotations,
java.lang.String name,
JavaType declaredType,
JsonSerializer<java.lang.Object> ser,
TypeSerializer typeSer,
JavaType serType,
java.lang.reflect.Method m,
java.lang.reflect.Field f,
boolean suppressNulls,
java.lang.Object suppressableValue) |
MapSerializer(java.util.HashSet<java.lang.String> ignoredEntries,
JavaType valueType,
boolean valueTypeIsStatic,
TypeSerializer vts)
Deprecated.
Use variant that takes Key type and property information
|
MapSerializer(java.util.HashSet<java.lang.String> ignoredEntries,
JavaType keyType,
JavaType valueType,
boolean valueTypeIsStatic,
TypeSerializer vts,
JsonSerializer<java.lang.Object> keySerializer,
BeanProperty property)
Deprecated.
As of 1.8, use version that takes valueSerializer
|
MapSerializer(java.util.HashSet<java.lang.String> ignoredEntries,
JavaType keyType,
JavaType valueType,
boolean valueTypeIsStatic,
TypeSerializer vts,
JsonSerializer<java.lang.Object> keySerializer,
JsonSerializer<java.lang.Object> valueSerializer,
BeanProperty property)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
UnknownSerializer.serializeWithType(java.lang.Object value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
Modifier and Type | Field and Description |
---|---|
protected TypeSerializer |
AsArraySerializerBase._valueTypeSerializer
Type serializer used for values, if any.
|
protected TypeSerializer |
EnumMapSerializer._valueTypeSerializer
Type serializer used for values, if any.
|
protected TypeSerializer |
MapSerializer._valueTypeSerializer
Type identifier serializer used for values, if any.
|
protected TypeSerializer |
StdArraySerializers.ArraySerializerBase._valueTypeSerializer
Type serializer used for values, if any.
|
Modifier and Type | Method and Description |
---|---|
ContainerSerializerBase<?> |
CollectionSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
StdContainerSerializers.IndexedListSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
StdContainerSerializers.IteratorSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
IterableSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
EnumMapSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
MapSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
EnumSetSerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
StdArraySerializers.StringArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Strings never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
ContainerSerializerBase<?> |
StdArraySerializers.BooleanArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Booleans never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
ContainerSerializerBase<?> |
StdArraySerializers.ShortArraySerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
StdArraySerializers.IntArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Ints never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
ContainerSerializerBase<?> |
StdArraySerializers.LongArraySerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
StdArraySerializers.FloatArraySerializer._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
StdArraySerializers.DoubleArraySerializer._withValueTypeSerializer(TypeSerializer vts)
Doubles never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
abstract ContainerSerializerBase<?> |
ContainerSerializerBase._withValueTypeSerializer(TypeSerializer vts) |
ContainerSerializerBase<?> |
ObjectArraySerializer._withValueTypeSerializer(TypeSerializer vts) |
static ContainerSerializerBase<?> |
StdContainerSerializers.collectionSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<java.lang.Object> valueSerializer) |
static MapSerializer |
MapSerializer.construct(java.lang.String[] ignoredList,
JavaType mapType,
boolean staticValueType,
TypeSerializer vts,
BeanProperty property)
Deprecated.
As of 1.8; use the variant with more arguments
|
static MapSerializer |
MapSerializer.construct(java.lang.String[] ignoredList,
JavaType mapType,
boolean staticValueType,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<java.lang.Object> keySerializer,
JsonSerializer<java.lang.Object> valueSerializer) |
static ContainerSerializerBase<?> |
StdContainerSerializers.indexedListSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<java.lang.Object> valueSerializer) |
static ContainerSerializerBase<?> |
StdContainerSerializers.iterableSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property) |
static ContainerSerializerBase<?> |
StdContainerSerializers.iteratorSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property) |
void |
StdArraySerializers.ByteArraySerializer.serializeWithType(byte[] value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
StdArraySerializers.CharArraySerializer.serializeWithType(char[] value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
StringCollectionSerializer.serializeWithType(java.util.Collection<java.lang.String> value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
EnumMapSerializer.serializeWithType(java.util.EnumMap<? extends java.lang.Enum<?>,?> value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
InetAddressSerializer.serializeWithType(java.net.InetAddress value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
SerializableSerializer.serializeWithType(JsonSerializable value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
SerializableWithTypeSerializer.serializeWithType(JsonSerializableWithType value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
IndexedStringListSerializer.serializeWithType(java.util.List<java.lang.String> value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
MapSerializer.serializeWithType(java.util.Map<?,?> value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
ToStringSerializer.serializeWithType(java.lang.Object value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer)
Default implementation will write type prefix, call regular serialization
method (since assumption is that value itself does not need JSON
Array or Object start/end markers), and then write type suffix.
|
void |
JsonValueSerializer.serializeWithType(java.lang.Object bean,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
BeanSerializerBase.serializeWithType(java.lang.Object bean,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
TimeZoneSerializer.serializeWithType(java.util.TimeZone value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
NonTypedScalarSerializerBase.serializeWithType(T value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
AsArraySerializerBase.serializeWithType(T value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
ScalarSerializerBase.serializeWithType(T value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer)
Default implementation will write type prefix, call regular serialization
method (since assumption is that value itself does not need JSON
Array or Object start/end markers), and then write type suffix.
|
void |
RawSerializer.serializeWithType(T value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
StdArraySerializers.ArraySerializerBase.serializeWithType(T value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
TokenBufferSerializer.serializeWithType(TokenBuffer value,
JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer)
Implementing typed output for contents of a TokenBuffer is very tricky,
since we do not know for sure what its contents might look like (or, rather,
we do know when serializing, but not necessarily when deserializing!)
One possibility would be to check the current token, and use that to
determine if we would output JSON Array, Object or scalar value.
|
ContainerSerializerBase<?> |
ContainerSerializerBase.withValueTypeSerializer(TypeSerializer vts)
Factory(-like) method that can be used to construct a new container
serializer that uses specified
TypeSerializer for decorating
contained values with additional type information. |
Constructor and Description |
---|
ArraySerializerBase(java.lang.Class<T> cls,
TypeSerializer vts,
BeanProperty property) |
AsArraySerializerBase(java.lang.Class<?> cls,
JavaType et,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property)
Deprecated.
since 1.8
|
AsArraySerializerBase(java.lang.Class<?> cls,
JavaType et,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<java.lang.Object> elementSerializer) |
CollectionSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<java.lang.Object> valueSerializer) |
EnumMapSerializer(JavaType valueType,
boolean staticTyping,
EnumValues keyEnums,
TypeSerializer vts,
BeanProperty property)
Deprecated.
Since 1.8, use variant that takes value serializer
|
EnumMapSerializer(JavaType valueType,
boolean staticTyping,
EnumValues keyEnums,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<java.lang.Object> valueSerializer) |
FloatArraySerializer(TypeSerializer vts) |
IndexedListSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<java.lang.Object> valueSerializer) |
IterableSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property) |
IteratorSerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property) |
LongArraySerializer(TypeSerializer vts) |
MapSerializer(java.util.HashSet<java.lang.String> ignoredEntries,
JavaType keyType,
JavaType valueType,
boolean valueTypeIsStatic,
TypeSerializer vts,
JsonSerializer<java.lang.Object> keySerializer,
JsonSerializer<java.lang.Object> valueSerializer,
BeanProperty property) |
ObjectArraySerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property)
Deprecated.
since 1.8
|
ObjectArraySerializer(JavaType elemType,
boolean staticTyping,
TypeSerializer vts,
BeanProperty property,
JsonSerializer<java.lang.Object> elementSerializer) |
ShortArraySerializer(TypeSerializer vts) |
Modifier and Type | Method and Description |
---|---|
void |
TypeBase.serializeWithType(JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
Modifier and Type | Method and Description |
---|---|
void |
JSONWrappedObject.serializeWithType(JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
JSONPObject.serializeWithType(JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer) |
Modifier and Type | Method and Description |
---|---|
void |
ObjectNode.serializeWithType(JsonGenerator jg,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
MissingNode.serializeWithType(JsonGenerator jg,
SerializerProvider provider,
TypeSerializer typeSer) |
void |
ValueNode.serializeWithType(JsonGenerator jg,
SerializerProvider provider,
TypeSerializer typeSer) |
abstract void |
BaseJsonNode.serializeWithType(JsonGenerator jgen,
SerializerProvider provider,
TypeSerializer typeSer)
Type information is needed, even if JsonNode instances are "plain" JSON,
since they may be mixed with other types.
|
void |
ArrayNode.serializeWithType(JsonGenerator jg,
SerializerProvider provider,
TypeSerializer typeSer) |