@Environment(value=CLIENT) public class CheckedGson extends Object
Constructor and Description |
---|
CheckedGson() |
Modifier and Type | Method and Description |
---|---|
<T extends RealmsSerializable> |
fromJson(String json,
Class<T> type) |
String |
toJson(RealmsSerializable serializable) |
private final Gson GSON
public String toJson(RealmsSerializable serializable)
public <T extends RealmsSerializable> T fromJson(String json, Class<T> type)