Package org.gbif.dwc.terms.jackson
Class TermDeserializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonDeserializer<Term>
-
- org.gbif.dwc.terms.jackson.TermDeserializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class TermDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<Term>
A json deserializer that turns full qualified term names into dwc terms instances.
-
-
Constructor Summary
Constructors Constructor Description TermDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Term
deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt)
-
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Constructor Detail
-
TermDeserializer
public TermDeserializer()
-
-
Method Detail
-
deserialize
public Term deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
- Specified by:
deserialize
in classcom.fasterxml.jackson.databind.JsonDeserializer<Term>
- Throws:
IOException
-
-