Uses of Class
com.fasterxml.jackson.databind.type.CollectionType
-
Packages that use CollectionType Package Description com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.module Package that contains classes and interfaces to help implement custom extensionModule
s (which are registered usingObjectMapper.registerModule(com.fasterxml.jackson.databind.Module)
.com.fasterxml.jackson.databind.ser Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.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). -
-
Uses of CollectionType in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser that return CollectionType Modifier and Type Method Description protected CollectionType
BasicDeserializerFactory. _mapAbstractCollectionType(JavaType type, DeserializationConfig config)
-
Uses of CollectionType in com.fasterxml.jackson.databind.module
Methods in com.fasterxml.jackson.databind.module with parameters of type CollectionType Modifier and Type Method Description JsonDeserializer<?>
SimpleDeserializers. findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)
JsonSerializer<?>
SimpleSerializers. findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)
-
Uses of CollectionType in com.fasterxml.jackson.databind.ser
Methods in com.fasterxml.jackson.databind.ser with parameters of type CollectionType Modifier and Type Method Description protected JsonSerializer<?>
BasicSerializerFactory. buildCollectionSerializer(SerializerProvider prov, CollectionType type, BeanDescription beanDesc, 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 accessJsonSerializer<?>
Serializers.Base. findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)
JsonSerializer<?>
Serializers. findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)
Method called by serialization framework first time a serializer is needed for specifiedCollection
type.JsonSerializer<?>
BeanSerializerModifier. modifyCollectionSerializer(SerializationConfig config, CollectionType valueType, BeanDescription beanDesc, JsonSerializer<?> serializer)
-
Uses of CollectionType in com.fasterxml.jackson.databind.type
Methods in com.fasterxml.jackson.databind.type that return CollectionType Modifier and Type Method Description static CollectionType
CollectionType. construct(java.lang.Class<?> rawType, JavaType elemT)
Deprecated.Since 2.7, remove from 2.9static CollectionType
CollectionType. construct(java.lang.Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType elemT)
CollectionType
TypeFactory. constructCollectionType(java.lang.Class<? extends java.util.Collection> collectionClass, JavaType elementType)
Method for constructing aCollectionType
.CollectionType
TypeFactory. constructCollectionType(java.lang.Class<? extends java.util.Collection> collectionClass, java.lang.Class<?> elementClass)
Method for constructing aCollectionType
.CollectionType
TypeFactory. constructRawCollectionType(java.lang.Class<? extends java.util.Collection> collectionClass)
Method that can be used to construct "raw" Collection type; meaning that its parameterization is unknown.CollectionType
CollectionType. withContentTypeHandler(java.lang.Object h)
CollectionType
CollectionType. withContentValueHandler(java.lang.Object h)
CollectionType
CollectionType. withStaticTyping()
CollectionType
CollectionType. withTypeHandler(java.lang.Object h)
CollectionType
CollectionType. withValueHandler(java.lang.Object h)
-