public class CardCommandJsonAdapter extends java.lang.Object implements com.google.gson.JsonSerializer<CardCommand>, com.google.gson.JsonDeserializer<CardCommand>
CardCommand
.Constructor and Description |
---|
CardCommandJsonAdapter() |
Modifier and Type | Method and Description |
---|---|
CardCommand |
deserialize(com.google.gson.JsonElement jsonElement,
java.lang.reflect.Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
com.google.gson.JsonElement |
serialize(CardCommand cardCommand,
java.lang.reflect.Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext) |
public com.google.gson.JsonElement serialize(CardCommand cardCommand, java.lang.reflect.Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
serialize
in interface com.google.gson.JsonSerializer<CardCommand>
public CardCommand deserialize(com.google.gson.JsonElement jsonElement, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<CardCommand>
com.google.gson.JsonParseException