Package it. unibo. alchemist. boundary. gui. effects. json
This package contains all the classes useful to save/load effect groups to/from file, in human-readable format (JSON).
See also
com. google. gson. Gson
Gson
Types
Link copied to clipboard
open class ColorSerializationAdapter : JsonSerializer<Color> , JsonDeserializer<Color>
Content copied to clipboard
This class should be registered in a com.google.gson.GsonBuilder to serialize and deserialize JavaFX Color objects.
Link copied to clipboard
open class EffectGroupAdapter<P : Position2D<out P>?> : JsonSerializer<EffectGroup<P>> , JsonDeserializer<EffectGroup<P>>
Content copied to clipboard
This class should be registered in a com.google.gson.GsonBuilder to serialize and deserialize a EffectGroup compatible class.
Link copied to clipboard
Serialize Alchemist effect groups from/to file in human readable format (JSON).