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