public static class ServerMetadata.Players.Deserializer extends Object implements com.google.gson.JsonDeserializer<ServerMetadata.Players>, com.google.gson.JsonSerializer<ServerMetadata.Players>
| Constructor and Description |
|---|
Deserializer() |
| Modifier and Type | Method and Description |
|---|---|
ServerMetadata.Players |
deserialize(com.google.gson.JsonElement jsonElement,
Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
com.google.gson.JsonElement |
serialize(ServerMetadata.Players players,
Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext) |
public ServerMetadata.Players deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<ServerMetadata.Players>com.google.gson.JsonParseExceptionpublic com.google.gson.JsonElement serialize(ServerMetadata.Players players, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
serialize in interface com.google.gson.JsonSerializer<ServerMetadata.Players>