public class CustomDataAdapter extends Object implements com.google.gson.JsonSerializer<CustomData>
| Constructor and Description |
|---|
CustomDataAdapter() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.Gson |
getGsonInstance() |
com.google.gson.JsonElement |
serialize(CustomData src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public com.google.gson.Gson getGsonInstance()
public com.google.gson.JsonElement serialize(CustomData src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<CustomData>Copyright © 2020. All rights reserved.