Class ServiceQuality.RealmsServiceQualityJsonAdapter
java.lang.Object
com.google.gson.TypeAdapter<ServiceQuality>
com.mojang.realmsclient.dto.ServiceQuality.RealmsServiceQualityJsonAdapter
- Enclosing class:
ServiceQuality
public static class ServiceQuality.RealmsServiceQualityJsonAdapter
extends com.google.gson.TypeAdapter<ServiceQuality>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, ServiceQuality quality) 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
-
RealmsServiceQualityJsonAdapter
public RealmsServiceQualityJsonAdapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, ServiceQuality quality) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<ServiceQuality>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<ServiceQuality>- Throws:
IOException
-