public interface TimeType
extends jayeson.lib.feed.api.EnumInterface
Modifier and Type | Field and Description |
---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
mapper |
Modifier and Type | Method and Description |
---|---|
static TimeType |
deserialize(com.fasterxml.jackson.databind.JsonNode node)
Gets the TimeType object from the given JSON node.
|
static TimeType |
deserialize(java.lang.String value)
Gets the TimeType object from the given JSON string.
|
static TimeType |
fromName(SportType sportType,
java.lang.String name)
Gets the TimeType object from a given SportType and TimeType name.
|
java.lang.String |
name() |
static <T extends TimeType> |
serialize(T timeType)
Gets the JSON representation of the given TimeType.
|
SportType |
sportType() |
SportType sportType()
java.lang.String name()
name
in interface jayeson.lib.feed.api.EnumInterface
static <T extends TimeType> java.lang.String serialize(T timeType) throws com.fasterxml.jackson.core.JsonProcessingException
timeType
- com.fasterxml.jackson.core.JsonProcessingException
static TimeType deserialize(java.lang.String value) throws java.io.IOException
value
- - the JSON stringjava.io.IOException
static TimeType deserialize(com.fasterxml.jackson.databind.JsonNode node) throws java.io.IOException
node
- java.io.IOException