Package com.sportdataapi.util
Class MatchStatusDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<MatchStatus>
com.sportdataapi.util.MatchStatusDeserializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class MatchStatusDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<MatchStatus>
Helps Jackson to deserialize a match status.
- Author:
- ralph
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description MatchStatusDeserializer()
Constructor. -
Method Summary
Modifier and Type Method Description MatchStatus
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
-
MatchStatusDeserializer
public MatchStatusDeserializer()Constructor.
-
-
Method Details
-
deserialize
public MatchStatus 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<MatchStatus>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonProcessingException
-