程序包 net.md_5.bungee.chat

# 类 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>

- ## 字段概要

  字段
  修饰符和类型
  字段
  说明
  `static final ThreadLocal<Set<BaseComponent>>`
  `serializedComponents`

- ## 构造器概要

  构造器
  构造器
  说明
  `ComponentSerializer()`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `BaseComponent`
  `deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)`
  `static BaseComponent[]`
  `parse(String json)`
  `static String`
  `toString(Object object)`
  `static String`
  `toString(BaseComponent component)`
  `static String`
  `toString(BaseComponent... components)`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 字段详细资料

  - ### serializedComponents

    public static final ThreadLocal<Set<BaseComponent>> serializedComponents

- ## 构造器详细资料

  - ### 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`