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