Uses of Class
org.codehaus.jackson.map.TypeSerializer
-
Packages that use TypeSerializer 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 viaObjectMapper
class, as well as convenience methods included inJsonParser
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 forTypeResolverBuilder
andTypeIdResolver
.org.codehaus.jackson.map.module Package that contains classes and interfaces to help implement custom extensionModule
s (which are registered usingObjectMapper.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 ofJavaType
, as well as the factory (TypeFactory
) for constructing instances from various input data types (likeClass
,Type
) and programmatically (for structured types, arrays,List
s andMap
s).org.codehaus.jackson.map.util Utility classes for Mapper package.org.codehaus.jackson.node Contains concreteJsonNode
implementations Jackson uses for the Tree model. -
-
Uses of TypeSerializer in org.codehaus.jackson.map
Methods in org.codehaus.jackson.map that return TypeSerializer Modifier and Type Method Description TypeSerializer
ObjectMapper.DefaultTypeResolverBuilder. buildTypeSerializer(SerializationConfig config, JavaType baseType, java.util.Collection<NamedType> subtypes, BeanProperty property)
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.TypeSerializer
SerializerFactory. createTypeSerializer(JavaType baseType, SerializationConfig config)
Deprecated.Since 1.7, call variant with more argumentsMethods in org.codehaus.jackson.map with parameters of type TypeSerializer Modifier and Type Method Description JsonSerializer<?>
Serializers.Base. findArraySerializer(SerializationConfig config, ArrayType type, BeanDescription beanDesc, BeanProperty property, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)
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. findCollectionLikeSerializer(SerializationConfig config, CollectionLikeType 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. findCollectionSerializer(SerializationConfig config, CollectionType 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. findMapLikeSerializer(SerializationConfig config, MapLikeType type, BeanDescription beanDesc, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, 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. findMapSerializer(SerializationConfig config, MapType 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)
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. -
Uses of TypeSerializer in org.codehaus.jackson.map.jsontype
Methods in org.codehaus.jackson.map.jsontype that return TypeSerializer Modifier and Type Method 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. -
Uses of TypeSerializer in org.codehaus.jackson.map.jsontype.impl
Subclasses of TypeSerializer in org.codehaus.jackson.map.jsontype.impl Modifier and Type Class 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
Methods in org.codehaus.jackson.map.jsontype.impl that return TypeSerializer Modifier and Type Method Description TypeSerializer
StdTypeResolverBuilder. buildTypeSerializer(SerializationConfig config, JavaType baseType, java.util.Collection<NamedType> subtypes, BeanProperty property)
-
Uses of TypeSerializer in org.codehaus.jackson.map.module
Methods in org.codehaus.jackson.map.module with parameters of type TypeSerializer Modifier and Type Method 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)
-
Uses of TypeSerializer in org.codehaus.jackson.map.ser
Fields in org.codehaus.jackson.map.ser declared as TypeSerializer Modifier and Type Field Description protected TypeSerializer
BeanPropertyWriter. _typeSerializer
If property being serialized needs type information to be included this is the type serializer to use.Methods in org.codehaus.jackson.map.ser that return TypeSerializer Modifier and Type Method 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.Methods in org.codehaus.jackson.map.ser with parameters of type TypeSerializer Modifier and Type Method 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 forObject[]
(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 forList
types that support efficient by-index accessprotected 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 forEnumMap
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 implementMap
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 forMap
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.Constructors in org.codehaus.jackson.map.ser with parameters of type TypeSerializer Constructor Description 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)
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)
MapSerializer(java.util.HashSet<java.lang.String> ignoredEntries, JavaType valueType, boolean valueTypeIsStatic, TypeSerializer vts)
Deprecated.Use variant that takes Key type and property informationMapSerializer(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 valueSerializerMapSerializer(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. -
Uses of TypeSerializer in org.codehaus.jackson.map.ser.impl
Methods in org.codehaus.jackson.map.ser.impl with parameters of type TypeSerializer Modifier and Type Method Description void
UnknownSerializer. serializeWithType(java.lang.Object value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
-
Uses of TypeSerializer in org.codehaus.jackson.map.ser.std
Fields in org.codehaus.jackson.map.ser.std declared as TypeSerializer Modifier and Type Field 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.Methods in org.codehaus.jackson.map.ser.std with parameters of type TypeSerializer Modifier and Type Method Description ContainerSerializerBase<?>
CollectionSerializer. _withValueTypeSerializer(TypeSerializer vts)
abstract ContainerSerializerBase<?>
ContainerSerializerBase. _withValueTypeSerializer(TypeSerializer vts)
ContainerSerializerBase<?>
EnumMapSerializer. _withValueTypeSerializer(TypeSerializer vts)
ContainerSerializerBase<?>
EnumSetSerializer. _withValueTypeSerializer(TypeSerializer vts)
ContainerSerializerBase<?>
IterableSerializer. _withValueTypeSerializer(TypeSerializer vts)
ContainerSerializerBase<?>
MapSerializer. _withValueTypeSerializer(TypeSerializer vts)
ContainerSerializerBase<?>
ObjectArraySerializer. _withValueTypeSerializer(TypeSerializer vts)
ContainerSerializerBase<?>
StdArraySerializers.BooleanArraySerializer. _withValueTypeSerializer(TypeSerializer vts)
Booleans never add type info; hence, even if type serializer is suggested, we'll ignore it...ContainerSerializerBase<?>
StdArraySerializers.DoubleArraySerializer. _withValueTypeSerializer(TypeSerializer vts)
Doubles never add type info; hence, even if type serializer is suggested, we'll ignore it...ContainerSerializerBase<?>
StdArraySerializers.FloatArraySerializer. _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.ShortArraySerializer. _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<?>
StdContainerSerializers.IndexedListSerializer. _withValueTypeSerializer(TypeSerializer vts)
ContainerSerializerBase<?>
StdContainerSerializers.IteratorSerializer. _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 argumentsstatic 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
AsArraySerializerBase. serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
BeanSerializerBase. serializeWithType(java.lang.Object bean, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
EnumMapSerializer. serializeWithType(java.util.EnumMap<? extends java.lang.Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
IndexedStringListSerializer. serializeWithType(java.util.List<java.lang.String> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
InetAddressSerializer. serializeWithType(java.net.InetAddress value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
JsonValueSerializer. serializeWithType(java.lang.Object bean, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
MapSerializer. serializeWithType(java.util.Map<?,?> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
NonTypedScalarSerializerBase. serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
RawSerializer. 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
SerializableSerializer. serializeWithType(JsonSerializable value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
SerializableWithTypeSerializer. serializeWithType(JsonSerializableWithType value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
StdArraySerializers.ArraySerializerBase. serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
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
TimeZoneSerializer. serializeWithType(java.util.TimeZone 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.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.ContainerSerializerBase<?>
ContainerSerializerBase. withValueTypeSerializer(TypeSerializer vts)
Factory(-like) method that can be used to construct a new container serializer that uses specifiedTypeSerializer
for decorating contained values with additional type information.Constructors in org.codehaus.jackson.map.ser.std with parameters of type TypeSerializer Constructor 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.8AsArraySerializerBase(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 serializerEnumMapSerializer(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.8ObjectArraySerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> elementSerializer)
ShortArraySerializer(TypeSerializer vts)
-
Uses of TypeSerializer in org.codehaus.jackson.map.type
Methods in org.codehaus.jackson.map.type with parameters of type TypeSerializer Modifier and Type Method Description void
TypeBase. serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
-
Uses of TypeSerializer in org.codehaus.jackson.map.util
Methods in org.codehaus.jackson.map.util with parameters of type TypeSerializer Modifier and Type Method Description void
JSONPObject. serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
void
JSONWrappedObject. serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
-
Uses of TypeSerializer in org.codehaus.jackson.node
Methods in org.codehaus.jackson.node with parameters of type TypeSerializer Modifier and Type Method Description void
ArrayNode. 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
MissingNode. serializeWithType(JsonGenerator jg, SerializerProvider provider, TypeSerializer typeSer)
void
ObjectNode. serializeWithType(JsonGenerator jg, SerializerProvider provider, TypeSerializer typeSer)
void
ValueNode. serializeWithType(JsonGenerator jg, SerializerProvider provider, TypeSerializer typeSer)
-