public static class AccessLevel.Serializer extends UnionSerializer<AccessLevel>
Modifier and Type | Field and Description |
---|---|
static AccessLevel.Serializer |
INSTANCE |
TAG_FIELD
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
AccessLevel |
deserialize(com.fasterxml.jackson.core.JsonParser p) |
void |
serialize(AccessLevel 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 AccessLevel.Serializer INSTANCE
public void serialize(AccessLevel value, com.fasterxml.jackson.core.JsonGenerator g) throws java.io.IOException, com.fasterxml.jackson.core.JsonGenerationException
serialize
in class StoneSerializer<AccessLevel>
java.io.IOException
com.fasterxml.jackson.core.JsonGenerationException
public AccessLevel deserialize(com.fasterxml.jackson.core.JsonParser p) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException
deserialize
in class StoneSerializer<AccessLevel>
java.io.IOException
com.fasterxml.jackson.core.JsonParseException