public abstract class ProtoDeserializer<T>
extends com.fasterxml.jackson.databind.JsonDeserializer<T>
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.core.ObjectCodec |
codec |
protected com.fasterxml.jackson.databind.DeserializationContext |
context |
protected com.fasterxml.jackson.databind.JsonNode |
node |
| Constructor and Description |
|---|
ProtoDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
deserialize() |
T |
deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext ctx) |
protected Boolean |
deserializeBoolean(ProtoField field) |
protected Date |
deserializeDate(ProtoField field,
String format) |
protected Double |
deserializeDouble(ProtoField field) |
<E extends Enum<E>> |
deserializeEnum(ProtoField field,
Class<E> eClazz) |
protected Integer |
deserializeInteger(ProtoField field) |
protected <P> LinkedList<P> |
deserializeLinkedList(ProtoField field,
Class<P> clazz) |
protected <O extends ProtoObject<?>> |
deserializeList(Class<O> clazz) |
protected <P> List<P> |
deserializeList(ProtoField field,
Class<P> clazz) |
Map |
deserializeMap(ProtoField field) |
protected <O extends ProtoObject<?>> |
deserializeObject(Class<O> clazz) |
protected <O extends ProtoObject<?>> |
deserializeObject(ProtoField field,
Class<O> clazz) |
protected String |
deserializeString(ProtoField field) |
protected String |
deserializeString(String field) |
deserialize, deserializeWithType, findBackReference, getDelegatee, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, replaceDelegatee, unwrappingDeserializerprotected com.fasterxml.jackson.core.ObjectCodec codec
protected com.fasterxml.jackson.databind.JsonNode node
protected com.fasterxml.jackson.databind.DeserializationContext context
public final T deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext ctx) throws IOException
deserialize in class com.fasterxml.jackson.databind.JsonDeserializer<T>IOExceptionprotected abstract T deserialize() throws IOException
IOExceptionprotected <O extends ProtoObject<?>> O deserializeObject(ProtoField field, Class<O> clazz) throws IOException
IOExceptionprotected <O extends ProtoObject<?>> O deserializeObject(Class<O> clazz) throws IOException
IOExceptionprotected <O extends ProtoObject<?>> List<O> deserializeList(Class<O> clazz) throws IOException
IOExceptionprotected String deserializeString(ProtoField field)
protected Integer deserializeInteger(ProtoField field)
protected Double deserializeDouble(ProtoField field)
protected Boolean deserializeBoolean(ProtoField field)
protected Date deserializeDate(ProtoField field, String format)
public <E extends Enum<E>> E deserializeEnum(ProtoField field, Class<E> eClazz)
public Map deserializeMap(ProtoField field) throws IOException
IOExceptionprotected <P> List<P> deserializeList(ProtoField field, Class<P> clazz) throws IOException
IOExceptionprotected <P> LinkedList<P> deserializeLinkedList(ProtoField field, Class<P> clazz) throws IOException
IOExceptionCopyright © 2017. All rights reserved.