Package com.algolia.model.search
Class SearchResult.Deserializer<T>
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<SearchResult<T>>
com.algolia.model.search.SearchResult.Deserializer<T>
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
- Enclosing interface:
- SearchResult<T>
public static class SearchResult.Deserializer<T>
extends com.fasterxml.jackson.databind.JsonDeserializer<SearchResult<T>>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) getNullValue(com.fasterxml.jackson.databind.DeserializationContext ctxt) Handle deserialization of the 'null' value.Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
Deserializer
public Deserializer()
-
-
Method Details
-
deserialize
public SearchResult<T> deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException - Specified by:
deserializein classcom.fasterxml.jackson.databind.JsonDeserializer<SearchResult<T>>- Throws:
IOException
-
getNullValue
public SearchResult<T> getNullValue(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws com.fasterxml.jackson.databind.JsonMappingException Handle deserialization of the 'null' value.- Specified by:
getNullValuein interfacecom.fasterxml.jackson.databind.deser.NullValueProvider- Overrides:
getNullValuein classcom.fasterxml.jackson.databind.JsonDeserializer<SearchResult<T>>- Throws:
com.fasterxml.jackson.databind.JsonMappingException
-