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 | Class and Description |
|---|---|
| private static class | JavaUtilCollectionsDeserializers.JavaUtilCollectionsConverter
Implementation used for converting from various generic container
types ( |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String | |
| public static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| private static String | |
| pack-priv static JavaUtilCollectionsDeserializers. | |
| public static JsonDeserializer | |
| public static JsonDeserializer |
| PREFIX_JAVA_UTIL_ARRAYS | back to summary |
|---|---|
| private static final String PREFIX_JAVA_UTIL_ARRAYS | |
| PREFIX_JAVA_UTIL_COLLECTIONS | back to summary |
|---|---|
| private static final String PREFIX_JAVA_UTIL_COLLECTIONS | |
| PREFIX_JAVA_UTIL_IMMUTABLE_COLL | back to summary |
|---|---|
| private static final String PREFIX_JAVA_UTIL_IMMUTABLE_COLL | |
| TYPE_AS_LIST | back to summary |
|---|---|
| public static final int TYPE_AS_LIST | |
| TYPE_SINGLETON_LIST | back to summary |
|---|---|
| private static final int TYPE_SINGLETON_LIST | |
| TYPE_SINGLETON_MAP | back to summary |
|---|---|
| private static final int TYPE_SINGLETON_MAP | |
| TYPE_SINGLETON_SET | back to summary |
|---|---|
| private static final int TYPE_SINGLETON_SET | |
| TYPE_SYNC_COLLECTION | back to summary |
|---|---|
| private static final int TYPE_SYNC_COLLECTION | |
| TYPE_SYNC_LIST | back to summary |
|---|---|
| private static final int TYPE_SYNC_LIST | |
| TYPE_SYNC_MAP | back to summary |
|---|---|
| private static final int TYPE_SYNC_MAP | |
| TYPE_SYNC_SET | back to summary |
|---|---|
| private static final int TYPE_SYNC_SET | |
| TYPE_UNMODIFIABLE_LIST | back to summary |
|---|---|
| private static final int TYPE_UNMODIFIABLE_LIST | |
| TYPE_UNMODIFIABLE_MAP | back to summary |
|---|---|
| private static final int TYPE_UNMODIFIABLE_MAP | |
| TYPE_UNMODIFIABLE_SET | back to summary |
|---|---|
| private static final int TYPE_UNMODIFIABLE_SET | |
| JavaUtilCollectionsDeserializers | back to summary |
|---|---|
| public JavaUtilCollectionsDeserializers() | |
| _findSingletonTypeName | back to summary |
|---|---|
| private static String _findSingletonTypeName(String localName) | |
| _findSyncTypeName | back to summary |
|---|---|
| private static String _findSyncTypeName(String localName) | |
| _findUnmodifiableTypeName | back to summary |
|---|---|
| private static String _findUnmodifiableTypeName(String localName) | |
| _findUtilArrayTypeName | back to summary |
|---|---|
| private static String _findUtilArrayTypeName(String clsName) | |
| _findUtilCollectionsImmutableTypeName | back to summary |
|---|---|
| private static String _findUtilCollectionsImmutableTypeName(String clsName) | |
| _findUtilCollectionsTypeName | back to summary |
|---|---|
| private static String _findUtilCollectionsTypeName(String clsName) | |
| converter | back to summary |
|---|---|
| pack-priv static JavaUtilCollectionsDeserializers. | |
| findForCollection | back to summary |
|---|---|
| public static JsonDeserializer | |
| findForMap | back to summary |
|---|---|
| public static JsonDeserializer | |
java.util.Set , java.util.List , java.util.Map )
into more specific implementations accessible via java.util.Collections.
| Modifier and Type | Field and Description |
|---|---|
| private final JavaType | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Object | convert(Object value)
Implements com. |
| public JavaType | getInputType(TypeFactory typeFactory)
Implements com. |
| public JavaType | getOutputType(TypeFactory typeFactory)
Implements com. |
| _inputType | back to summary |
|---|---|
| private final JavaType _inputType | |
| _kind | back to summary |
|---|---|
| private final int _kind | |
| JavaUtilCollectionsConverter | back to summary |
|---|---|
| pack-priv JavaUtilCollectionsConverter(int kind, JavaType inputType) | |
| _checkSingleton | back to summary |
|---|---|
| private void _checkSingleton(int size) | |
| convert | back to summary |
|---|---|
| public Object convert(Object value) Implements com. Doc from com. Main conversion method.
| |
| getInputType | back to summary |
|---|---|
| public JavaType getInputType(TypeFactory typeFactory) Implements com. Doc from com. Method that can be used to find out actual input (source) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).
| |
| getOutputType | back to summary |
|---|---|
| public JavaType getOutputType(TypeFactory typeFactory) Implements com. Doc from com. Method that can be used to find out actual output (target) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).
| |