public abstract class JavaUtilCollectionsDeserializers
extends java.lang.Object
java.util.Collections
and java.util.Arrays
. This is needed
because they do not have usable no-arguments constructor: however, are easy enough
to deserialize using delegating deserializer.Modifier and Type | Field and Description |
---|---|
static int |
TYPE_AS_LIST |
Constructor and Description |
---|
JavaUtilCollectionsDeserializers() |
Modifier and Type | Method and Description |
---|---|
static JsonDeserializer<?> |
findForCollection(DeserializationContext ctxt,
JavaType type) |
static JsonDeserializer<?> |
findForMap(DeserializationContext ctxt,
JavaType type) |
public static final int TYPE_AS_LIST
public static JsonDeserializer<?> findForCollection(DeserializationContext ctxt, JavaType type) throws JsonMappingException
JsonMappingException
public static JsonDeserializer<?> findForMap(DeserializationContext ctxt, JavaType type) throws JsonMappingException
JsonMappingException
Copyright © 2010 - 2020 Adobe. All Rights Reserved