public class SpawnInfoTypeAdapter extends java.lang.Object implements com.google.gson.JsonSerializer<SpawnInfo>, com.google.gson.JsonDeserializer<SpawnInfo>
SpawnInfo
s.Constructor and Description |
---|
SpawnInfoTypeAdapter() |
Modifier and Type | Method and Description |
---|---|
SpawnInfo |
deserialize(com.google.gson.JsonElement element,
java.lang.reflect.Type type,
com.google.gson.JsonDeserializationContext ctx) |
com.google.gson.JsonElement |
serialize(SpawnInfo spawnInfo,
java.lang.reflect.Type type,
com.google.gson.JsonSerializationContext ctx) |
public SpawnInfo deserialize(com.google.gson.JsonElement element, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext ctx) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<SpawnInfo>
com.google.gson.JsonParseException