EffectGroupAdapter

open class EffectGroupAdapter<P : Position2D<out P>?> : JsonSerializer<T> , JsonDeserializer<T>

This class should be registered in a com.google.gson.GsonBuilder to serialize and deserialize a EffectGroup compatible class.

Parameters

<P>

The position type

Functions

Link copied to clipboard
open fun deserialize(    json: JsonElement,     typeOfT: Type,     context: JsonDeserializationContext): EffectGroup<P>
Link copied to clipboard
open fun serialize(    src: EffectGroup<P>,     typeOfSrc: Type,     context: JsonSerializationContext): JsonElement