Class JavaUtilCollectionsDeserializers
- java.lang.Object
-
- com.fasterxml.jackson.databind.deser.impl.JavaUtilCollectionsDeserializers
-
public abstract class JavaUtilCollectionsDeserializers extends java.lang.Object
Helper class used to contain logic for deserializing "special" containers fromjava.util.Collections
andjava.util.Arrays
. This is needed because they do not have usable no-arguments constructor: however, are easy enough to deserialize using delegating deserializer.- Since:
- 2.9.4
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_AS_LIST
-
Constructor Summary
Constructors Constructor Description JavaUtilCollectionsDeserializers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonDeserializer<?>
findForCollection(DeserializationContext ctxt, JavaType type)
static JsonDeserializer<?>
findForMap(DeserializationContext ctxt, JavaType type)
-
-
-
Field Detail
-
TYPE_AS_LIST
public static final int TYPE_AS_LIST
- See Also:
- Constant Field Values
-
-
Method Detail
-
findForCollection
public static JsonDeserializer<?> findForCollection(DeserializationContext ctxt, JavaType type) throws JsonMappingException
- Throws:
JsonMappingException
-
findForMap
public static JsonDeserializer<?> findForMap(DeserializationContext ctxt, JavaType type) throws JsonMappingException
- Throws:
JsonMappingException
-
-