Package com.dropbox.core.stone
Class StructSerializer<T>
- java.lang.Object
-
- com.dropbox.core.stone.StoneSerializer<T>
-
- com.dropbox.core.stone.CompositeSerializer<T>
-
- com.dropbox.core.stone.StructSerializer<T>
-
- Direct Known Subclasses:
AddPropertiesArg.Serializer
,AddTemplateArg.Serializer
,AddTemplateResult.Serializer
,BasicAccount.Serializer
,ContentSyncSetting.Serializer
,ContentSyncSettingArg.Serializer
,ExportArg.Serializer
,ExportResult.Serializer
,GetAccountArg.Serializer
,GetAccountBatchArg.Serializer
,GetTemplateArg.Serializer
,GetTemplateResult.Serializer
,GroupSummary.Serializer
,ListTemplateResult.Serializer
,Name.Serializer
,OverwritePropertyGroupArg.Serializer
,PollArg.Serializer
,PropertyGroup.Serializer
,RateLimitError.Serializer
,RemovePropertiesArg.Serializer
,RootInfo.Serializer
,SecondaryEmail.Serializer
,Team.Serializer
,TeamMemberPolicies.Serializer
,TeamSharingPolicies.Serializer
,TimeRange.Serializer
,TokenScopeError.Serializer
,UpdatePropertiesArg.Serializer
,UpdateTemplateArg.Serializer
,UpdateTemplateResult.Serializer
,UserInfo.Serializer
public abstract class StructSerializer<T> extends CompositeSerializer<T>
-
-
Field Summary
-
Fields inherited from class com.dropbox.core.stone.CompositeSerializer
TAG_FIELD
-
-
Constructor Summary
Constructors Constructor Description StructSerializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
deserialize(com.fasterxml.jackson.core.JsonParser p)
abstract T
deserialize(com.fasterxml.jackson.core.JsonParser p, boolean collapsed)
void
serialize(T value, com.fasterxml.jackson.core.JsonGenerator g)
abstract void
serialize(T value, com.fasterxml.jackson.core.JsonGenerator g, boolean collapse)
-
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
-
-
-
-
Method Detail
-
serialize
public void serialize(T value, com.fasterxml.jackson.core.JsonGenerator g) throws java.io.IOException, com.fasterxml.jackson.core.JsonGenerationException
- Specified by:
serialize
in classStoneSerializer<T>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonGenerationException
-
serialize
public abstract void serialize(T value, com.fasterxml.jackson.core.JsonGenerator g, boolean collapse) throws java.io.IOException, com.fasterxml.jackson.core.JsonGenerationException
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonGenerationException
-
deserialize
public T deserialize(com.fasterxml.jackson.core.JsonParser p) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException
- Specified by:
deserialize
in classStoneSerializer<T>
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonParseException
-
deserialize
public abstract T deserialize(com.fasterxml.jackson.core.JsonParser p, boolean collapsed) throws java.io.IOException, com.fasterxml.jackson.core.JsonParseException
- Throws:
java.io.IOException
com.fasterxml.jackson.core.JsonParseException
-
-