Class QuestTypeAdapter

java.lang.Object
com.pixelmonmod.pixelmon.quests.quest.QuestTypeAdapter
All Implemented Interfaces:
com.google.gson.JsonDeserializer<Quest>

public class QuestTypeAdapter extends Object implements com.google.gson.JsonDeserializer<Quest>
  • Field Details

    • gson

      public static com.google.gson.Gson gson
  • Constructor Details

    • QuestTypeAdapter

      public QuestTypeAdapter()
  • Method Details

    • deserialize

      public Quest deserialize(com.google.gson.JsonElement element, Type type, com.google.gson.JsonDeserializationContext ctx) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<Quest>
      Throws:
      com.google.gson.JsonParseException