EffectGroupAdapter
open class EffectGroupAdapter<P : Position2D<out P>?> : JsonSerializer<T> , JsonDeserializer<T>
Content copied to clipboard
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>
Content copied to clipboard
Link copied to clipboard
open fun serialize( src: EffectGroup<P>, typeOfSrc: Type, context: JsonSerializationContext): JsonElement
Content copied to clipboard