Package 

Class EffectSerializer

  • All Implemented Interfaces:

    
    public final class EffectSerializer
    
                        

    Serialize Alchemist effect groups from/to file in human readable format (JSON).

    This class can be considered a clean boundary between Google Gson library and the needs of this project, providing methods to serialize and deserialize from JSON files instances of EffectGroup.

    The GSON object used for serialization is statically updated at runtime with all available TypeAdapters and RuntimeTypeAdapter.