public abstract class AbstractArrayJsonDeserializer<T> extends JsonDeserializer<T>
JsonDeserializer for array.| Constructor and Description |
|---|
AbstractArrayJsonDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
protected <C> List<C> |
deserializeIntoList(JsonReader reader,
JsonDeserializationContext ctx,
JsonDeserializer<C> deserializer)
Deserializes the array into a
List. |
deserialize, doDeserialize, setBackReferenceprotected <C> List<C> deserializeIntoList(JsonReader reader, JsonDeserializationContext ctx, JsonDeserializer<C> deserializer) throws IOException
List. We need the length of the array before creating it.C - type of the element inside the arrayreader - readerctx - context of the deserialization processdeserializer - deserializer for element inside the arrayIOException - if an error occurs while reading the arrayCopyright © 2013. All Rights Reserved.