public abstract class EnumIntDeserializer<E extends Enum<E>>
extends com.fasterxml.jackson.databind.JsonDeserializer<E>
Modifier | Constructor and Description |
---|---|
protected |
EnumIntDeserializer(Class<E> enumClass) |
Modifier and Type | Method and Description |
---|---|
E |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected int |
getIndexBase() |
public E deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<E extends Enum<E>>
IOException
com.fasterxml.jackson.core.JsonProcessingException
protected int getIndexBase()
Copyright © 2012–2015. All rights reserved.