public class CustomCommandSerializer
extends java.lang.Object
Constructor and Description |
---|
CustomCommandSerializer() |
Modifier and Type | Method and Description |
---|---|
JsonElement |
serialize(CustomCommand customCommand,
java.lang.reflect.Type typeOfSrc,
JsonSerializationContext context)
A custom serializer for Custom Command.
|
public JsonElement serialize(CustomCommand customCommand, java.lang.reflect.Type typeOfSrc, JsonSerializationContext context)
customCommand
- typeOfSrc
- context
-