## 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 extension `Module`s (which are registered using `ObjectMapper.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 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).

- - ### Uses of CollectionType in com.fasterxml.jackson.databind.deser

    Methods in com.fasterxml.jackson.databind.deser that return CollectionType
    Modifier and Type | Method and Description
    --- | ---
    `protected CollectionType` | BasicDeserializerFactory.`_mapAbstractCollectionType(JavaType type, DeserializationConfig config)`

    Methods in com.fasterxml.jackson.databind.deser with parameters of type CollectionType
    Modifier and Type | Method and Description
    --- | ---
    `protected JsonDeserializer<?>` | BasicDeserializerFactory.`_findCustomCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)`
    `abstract JsonDeserializer<?>` | DeserializerFactory.`createCollectionDeserializer(DeserializationContext ctxt, CollectionType type, BeanDescription beanDesc)`
    `JsonDeserializer<?>` | BasicDeserializerFactory.`createCollectionDeserializer(DeserializationContext ctxt, CollectionType type, BeanDescription beanDesc)`
    `JsonDeserializer<?>` | Deserializers.`findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)` Method called to locate serializer for specified `Collection` (List, Set etc) type.
    `JsonDeserializer<?>` | Deserializers.Base.`findCollectionDeserializer(CollectionType type, DeserializationConfig config, BeanDescription beanDesc, TypeDeserializer elementTypeDeserializer, JsonDeserializer<?> elementDeserializer)`
    `JsonDeserializer<?>` | BeanDeserializerModifier.`modifyCollectionDeserializer(DeserializationConfig config, CollectionType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer)` Method called by `BeanDeserializerFactory` after constructing default `CollectionType` deserializer instance.

  - ### 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 and 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<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 and Description
    --- | ---
    `protected JsonSerializer<?>` | BasicSerializerFactory.`buildCollectionSerializer(SerializerProvider prov, CollectionType type, BeanDescription beanDesc, 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<?>` | Serializers.`findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer)` Method called by serialization framework first time a serializer is needed for specified `Collection` type.
    `JsonSerializer<?>` | Serializers.Base.`findCollectionSerializer(SerializationConfig config, CollectionType type, BeanDescription beanDesc, TypeSerializer elementTypeSerializer, JsonSerializer<Object> elementValueSerializer)`
    `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 and Description
    --- | ---
    `static CollectionType` | CollectionType.`construct(Class<?> rawType, JavaType elemT)` Deprecated. Since 2.7, remove from 2.9
    `static CollectionType` | CollectionType.`construct(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType elemT)`
    `CollectionType` | TypeFactory.`constructCollectionType(Class<? extends Collection> collectionClass, Class<?> elementClass)` Method for constructing a `CollectionType`.
    `CollectionType` | TypeFactory.`constructCollectionType(Class<? extends Collection> collectionClass, JavaType elementType)` Method for constructing a `CollectionType`.
    `CollectionType` | TypeFactory.`constructRawCollectionType(Class<? extends Collection> collectionClass)` Method that can be used to construct "raw" Collection type; meaning that its parameterization is unknown.
    `CollectionType` | CollectionType.`withContentTypeHandler(Object h)`
    `CollectionType` | CollectionType.`withContentValueHandler(Object h)`
    `CollectionType` | CollectionType.`withStaticTyping()`
    `CollectionType` | CollectionType.`withTypeHandler(Object h)`
    `CollectionType` | CollectionType.`withValueHandler(Object h)`

Copyright © 2008–2019 FasterXML. All rights reserved.