Package com.dropbox.core.v2.users
Class Name.Serializer
- java.lang.Object
-
- com.dropbox.core.stone.StoneSerializer<T>
-
- com.dropbox.core.stone.CompositeSerializer<T>
-
- com.dropbox.core.stone.StructSerializer<Name>
-
- com.dropbox.core.v2.users.Name.Serializer
-
- Enclosing class:
- Name
public static class Name.Serializer extends StructSerializer<Name>
For internal use only.
-
-
Field Summary
Fields Modifier and Type Field Description static Name.Serializer
INSTANCE
-
Fields inherited from class com.dropbox.core.stone.CompositeSerializer
TAG_FIELD
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Name
deserialize(com.fasterxml.jackson.core.JsonParser p, boolean collapsed)
void
serialize(Name value, com.fasterxml.jackson.core.JsonGenerator g, boolean collapse)
-
Methods inherited from class com.dropbox.core.stone.StructSerializer
deserialize, serialize
-
Methods inherited from class com.dropbox.core.stone.CompositeSerializer
hasTag, readTag, writeTag
-
Methods inherited from class com.dropbox.core.stone.StoneSerializer
deserialize, deserialize, expectEndArray, expectEndObject, expectField, expectStartArray, expectStartObject, getStringValue, serialize, serialize, serialize, serialize, skipFields, skipValue
-
-
-
-
Field Detail
-
INSTANCE
public static final Name.Serializer INSTANCE
-
-
Method Detail
-
serialize
public void serialize(Name value, com.fasterxml.jackson.core.JsonGenerator g, boolean collapse) throws java.io.IOException, com.fasterxml.jackson.core.JsonGenerationException
- Specified by:
serialize
in classStructSerializer<Name>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonGenerationException
-
deserialize
public Name deserialize(com.fasterxml.jackson.core.JsonParser p, boolean collapsed) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException
- Specified by:
deserialize
in classStructSerializer<Name>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonParseException
-
-