类 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>
  • 字段详细资料

  • 构造器详细资料

    • ComponentSerializer

      public ComponentSerializer()
  • 方法详细资料

    • parse

      public static BaseComponent[] parse(String json)
    • toString

      public static String toString(Object object)
    • toString

      public static String toString(BaseComponent component)
    • toString

      public static String toString(BaseComponent... components)
    • 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