public static class TimeRange.Serializer extends StructSerializer<TimeRange>
Modifier and Type | Field and Description |
---|---|
static TimeRange.Serializer |
INSTANCE |
TAG_FIELD
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
TimeRange |
deserialize(com.fasterxml.jackson.core.JsonParser p,
boolean collapsed) |
void |
serialize(TimeRange value,
com.fasterxml.jackson.core.JsonGenerator g,
boolean collapse) |
deserialize, serialize
hasTag, readTag, writeTag
deserialize, deserialize, expectEndArray, expectEndObject, expectField, expectStartArray, expectStartObject, getStringValue, serialize, serialize, serialize, serialize, skipFields, skipValue
public static final TimeRange.Serializer INSTANCE
public void serialize(TimeRange value, com.fasterxml.jackson.core.JsonGenerator g, boolean collapse) throws java.io.IOException, com.fasterxml.jackson.core.JsonGenerationException
serialize
in class StructSerializer<TimeRange>
java.io.IOException
com.fasterxml.jackson.core.JsonGenerationException
public TimeRange deserialize(com.fasterxml.jackson.core.JsonParser p, boolean collapsed) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException
deserialize
in class StructSerializer<TimeRange>
java.io.IOException
com.fasterxml.jackson.core.JsonParseException