public class AnimationMetadataSectionSerializer extends BaseMetadataSectionSerializer<AnimationMetadataSection> implements com.google.gson.JsonSerializer<AnimationMetadataSection>
Constructor and Description |
---|
AnimationMetadataSectionSerializer() |
Modifier and Type | Method and Description |
---|---|
AnimationMetadataSection |
deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
java.lang.String |
getSectionName() |
private AnimationFrame |
parseAnimationFrame(int frame,
com.google.gson.JsonElement element) |
com.google.gson.JsonElement |
serialize(AnimationMetadataSection p_serialize_1_,
java.lang.reflect.Type p_serialize_2_,
com.google.gson.JsonSerializationContext p_serialize_3_) |
public AnimationMetadataSection deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<AnimationMetadataSection>
com.google.gson.JsonParseException
private AnimationFrame parseAnimationFrame(int frame, com.google.gson.JsonElement element)
public com.google.gson.JsonElement serialize(AnimationMetadataSection p_serialize_1_, java.lang.reflect.Type p_serialize_2_, com.google.gson.JsonSerializationContext p_serialize_3_)
serialize
in interface com.google.gson.JsonSerializer<AnimationMetadataSection>
public java.lang.String getSectionName()
getSectionName
in interface IMetadataSectionSerializer<AnimationMetadataSection>