Package org.gbif.api.vocabulary
Class Country.IsoDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<T>
-
- com.fasterxml.jackson.databind.deser.std.StdDeserializer<Country>
-
- org.gbif.api.vocabulary.Country.IsoDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
,com.fasterxml.jackson.databind.deser.ValueInstantiator.Gettable
,Serializable
- Enclosing class:
- Country
public static class Country.IsoDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<Country>
Deserializes the value from a 2-letter ISO format.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IsoDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Country
deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
-
Methods inherited from class com.fasterxml.jackson.databind.deser.std.StdDeserializer
deserializeWithType, getValueClass, getValueInstantiator, getValueType, getValueType, handledType
-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Constructor Detail
-
IsoDeserializer
public IsoDeserializer()
-
-
Method Detail
-
deserialize
public Country deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
- Specified by:
deserialize
in classcom.fasterxml.jackson.databind.JsonDeserializer<Country>
- Throws:
IOException
-
-