类 ComponentSerializer
java.lang.Object
net.md_5.bungee.chat.ComponentSerializer
- 所有已实现的接口:
com.google.gson.JsonDeserializer<BaseComponent>
public class ComponentSerializer
extends Object
implements com.google.gson.JsonDeserializer<BaseComponent>
-
字段概要
-
构造器概要
-
方法概要
修饰符和类型方法说明deserialize
(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) static BaseComponent[]
static String
static String
toString
(BaseComponent component) static String
toString
(BaseComponent... components)
-
字段详细资料
-
serializedComponents
-
-
构造器详细资料
-
ComponentSerializer
public ComponentSerializer()
-
-
方法详细资料
-
parse
-
toString
-
toString
-
toString
-
deserialize
public BaseComponent deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException - 指定者:
deserialize
在接口中com.google.gson.JsonDeserializer<BaseComponent>
- 抛出:
com.google.gson.JsonParseException
-