public interface EventType
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 EventType |
deserialize(com.fasterxml.jackson.databind.JsonNode node)
Gets the EventType object from the given JSON node.
|
static EventType |
deserialize(java.lang.String value)
Gets the TimeType object from the given JSON string.
|
static EventType |
fromName(SportType sportType,
java.lang.String name)
Gets the EventType object from a given SportType and EventType name.
|
java.lang.String |
name() |
static <T extends EventType> |
serialize(T eventType)
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 EventType> java.lang.String serialize(T eventType) throws com.fasterxml.jackson.core.JsonProcessingException
eventType
- com.fasterxml.jackson.core.JsonProcessingException
static EventType deserialize(java.lang.String value) throws java.io.IOException
value
- - the JSON stringjava.io.IOException
static EventType deserialize(com.fasterxml.jackson.databind.JsonNode node) throws java.io.IOException
node
- java.io.IOException