public class DeviceTypeAdapter extends BaseTypeAdapter<Device>
Device
objects to and from JSON.Constructor and Description |
---|
DeviceTypeAdapter() |
Modifier and Type | Method and Description |
---|---|
Device |
read(JsonReader in) |
void |
write(JsonWriter out,
Device device) |
writeBoolean, writeEnum, writeInteger, writeLong, writeString, writeUUID