Class SpawnSetTypeAdapter
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.util.SpawnSetTypeAdapter
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<SpawnSet>
public class SpawnSetTypeAdapter
extends Object
implements com.google.gson.JsonDeserializer<SpawnSet>
JSON adapter used for deserializing
SpawnSets.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonElement element, Type typeOfT, com.google.gson.JsonDeserializationContext context)
-
Constructor Details
-
SpawnSetTypeAdapter
public SpawnSetTypeAdapter()
-
-
Method Details
-
deserialize
public SpawnSet deserialize(com.google.gson.JsonElement element, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<SpawnSet>- Throws:
com.google.gson.JsonParseException
-