Package net.minecraft.network
Class ServerStatusResponse.PlayerCountData.Serializer
- java.lang.Object
-
- net.minecraft.network.ServerStatusResponse.PlayerCountData.Serializer
-
- All Implemented Interfaces:
JSONTypeCodec<ServerStatusResponse.PlayerCountData,JSONObject>,JSONTypeDeserializer<JSONObject,ServerStatusResponse.PlayerCountData>,JSONTypeSerializer<ServerStatusResponse.PlayerCountData,JSONObject>
- Enclosing class:
- ServerStatusResponse.PlayerCountData
public static class ServerStatusResponse.PlayerCountData.Serializer extends java.lang.Object implements JSONTypeCodec<ServerStatusResponse.PlayerCountData,JSONObject>
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerStatusResponse.PlayerCountDatadeserialize(JSONObject jsonobject)JSONObjectserialize(ServerStatusResponse.PlayerCountData serverstatusresponse$playercountdata)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.lax1dude.eaglercraft.v1_8.json.JSONTypeDeserializer
deserializeFromJson
-
Methods inherited from interface net.lax1dude.eaglercraft.v1_8.json.JSONTypeSerializer
serializeToJson
-
-
-
-
Method Detail
-
deserialize
public ServerStatusResponse.PlayerCountData deserialize(JSONObject jsonobject) throws JSONException
- Specified by:
deserializein interfaceJSONTypeDeserializer<JSONObject,ServerStatusResponse.PlayerCountData>- Throws:
JSONException
-
serialize
public JSONObject serialize(ServerStatusResponse.PlayerCountData serverstatusresponse$playercountdata) throws JSONException
- Specified by:
serializein interfaceJSONTypeSerializer<ServerStatusResponse.PlayerCountData,JSONObject>- Throws:
JSONException
-
-