Class RealmsRegion.RealmsRegionJsonAdapter
java.lang.Object
com.google.gson.TypeAdapter<RealmsRegion>
com.mojang.realmsclient.dto.RealmsRegion.RealmsRegionJsonAdapter
- Enclosing class:
RealmsRegion
public static class RealmsRegion.RealmsRegionJsonAdapter
extends com.google.gson.TypeAdapter<RealmsRegion>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, RealmsRegion realmsRegion) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
RealmsRegionJsonAdapter
public RealmsRegionJsonAdapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, RealmsRegion realmsRegion) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<RealmsRegion>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<RealmsRegion>- Throws:
IOException
-