Package net.minecraft.network
Class ServerStatusResponse.Serializer
- java.lang.Object
-
- net.minecraft.network.ServerStatusResponse.Serializer
-
- All Implemented Interfaces:
JSONTypeCodec<ServerStatusResponse,JSONObject>
,JSONTypeDeserializer<JSONObject,ServerStatusResponse>
,JSONTypeSerializer<ServerStatusResponse,JSONObject>
- Enclosing class:
- ServerStatusResponse
public static class ServerStatusResponse.Serializer extends java.lang.Object implements JSONTypeCodec<ServerStatusResponse,JSONObject>
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerStatusResponse
deserialize(JSONObject jsonobject)
JSONObject
serialize(ServerStatusResponse serverstatusresponse)
-
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 deserialize(JSONObject jsonobject) throws JSONException
- Specified by:
deserialize
in interfaceJSONTypeDeserializer<JSONObject,ServerStatusResponse>
- Throws:
JSONException
-
serialize
public JSONObject serialize(ServerStatusResponse serverstatusresponse)
- Specified by:
serialize
in interfaceJSONTypeSerializer<ServerStatusResponse,JSONObject>
-
-