Package net.minecraft.util
Class IChatComponent.Serializer
- java.lang.Object
-
- net.minecraft.util.IChatComponent.Serializer
-
- All Implemented Interfaces:
JSONTypeCodec<IChatComponent,java.lang.Object>
,JSONTypeDeserializer<java.lang.Object,IChatComponent>
,JSONTypeSerializer<IChatComponent,java.lang.Object>
- Enclosing interface:
- IChatComponent
public static class IChatComponent.Serializer extends java.lang.Object implements JSONTypeCodec<IChatComponent,java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
componentToJson(IChatComponent component)
So sorry for this implementationIChatComponent
deserialize(java.lang.Object parJsonElement)
static IChatComponent
jsonToComponent(java.lang.String json)
java.lang.Object
serialize(IChatComponent ichatcomponent)
-
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 IChatComponent deserialize(java.lang.Object parJsonElement) throws JSONException
- Specified by:
deserialize
in interfaceJSONTypeDeserializer<java.lang.Object,IChatComponent>
- Throws:
JSONException
-
serialize
public java.lang.Object serialize(IChatComponent ichatcomponent)
- Specified by:
serialize
in interfaceJSONTypeSerializer<IChatComponent,java.lang.Object>
-
componentToJson
public static java.lang.String componentToJson(IChatComponent component)
So sorry for this implementation
-
jsonToComponent
public static IChatComponent jsonToComponent(java.lang.String json)
-
-