Constructor and Description |
---|
ZMoveAdapter() |
Modifier and Type | Method and Description |
---|---|
ZMove |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type type,
com.google.gson.JsonDeserializationContext ctx) |
com.google.gson.JsonElement |
serialize(ZMove zMove,
java.lang.reflect.Type type,
com.google.gson.JsonSerializationContext ctx) |
public com.google.gson.JsonElement serialize(ZMove zMove, java.lang.reflect.Type type, com.google.gson.JsonSerializationContext ctx)
serialize
in interface com.google.gson.JsonSerializer<ZMove>
public ZMove deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext ctx) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<ZMove>
com.google.gson.JsonParseException