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