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