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