public class KeypleCardCommandExceptionJsonSerializer extends java.lang.Object implements com.google.gson.JsonSerializer<KeypleCardCommandException>
KeypleCardCommandException.
The field "command" is serialized as a CardCommand.
| Constructor and Description |
|---|
KeypleCardCommandExceptionJsonSerializer() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
serialize(KeypleCardCommandException exception,
java.lang.reflect.Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext) |
public KeypleCardCommandExceptionJsonSerializer()
public com.google.gson.JsonElement serialize(KeypleCardCommandException exception, java.lang.reflect.Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
serialize in interface com.google.gson.JsonSerializer<KeypleCardCommandException>