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