Package net.minecraft.client.realms
Class CheckedGson
java.lang.Object
net.minecraft.client.realms.CheckedGson
@Environment(CLIENT) public class CheckedGson extends Object
Checks so that only intended pojos are passed to the GSON (handles
serialization after obfuscation).
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CheckedGson()
-
Method Summary
Modifier and Type Method Description <T extends RealmsSerializable>
TfromJson(String json, Class<T> type)
String
toJson(RealmsSerializable serializable)
-
Field Details
-
GSON
-
-
Constructor Details
-
CheckedGson
public CheckedGson()
-
-
Method Details
-
toJson
-
fromJson
-