Package com.sportdataapi.util
Class MatchResultDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<MatchResult>
com.sportdataapi.util.MatchResultDeserializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class MatchResultDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<MatchResult>
Helps Jackson to deserialize a match status.
- Author:
- ralph
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description MatchResultDeserializer()
Constructor. -
Method Summary
Modifier and Type Method Description MatchResult
deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt)
Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
MatchResultDeserializer
public MatchResultDeserializer()Constructor.
-
-
Method Details
-
deserialize
public MatchResult deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws java.io.IOException, com.fasterxml.jackson.core.JsonProcessingException- Specified by:
deserialize
in classcom.fasterxml.jackson.databind.JsonDeserializer<MatchResult>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonProcessingException
-