Package com.mojang.realmsclient.dto
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 p_419908_) void
write
(com.google.gson.stream.JsonWriter p_419881_, RealmsRegion p_419808_) 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 p_419881_, RealmsRegion p_419808_) throws IOException - Specified by:
write
in classcom.google.gson.TypeAdapter<RealmsRegion>
- Throws:
IOException
-
read
- Specified by:
read
in classcom.google.gson.TypeAdapter<RealmsRegion>
- Throws:
IOException
-