程序包 net.md_5.bungee.chat

# 类 TextComponentSerializer

java.lang.Object
net.md_5.bungee.chat.BaseComponentSerializer
net.md_5.bungee.chat.TextComponentSerializer

所有已实现的接口:
  `com.google.gson.JsonDeserializer<TextComponent>`, `com.google.gson.JsonSerializer<TextComponent>`

public class TextComponentSerializer extends BaseComponentSerializer implements com.google.gson.JsonSerializer<TextComponent>, com.google.gson.JsonDeserializer<TextComponent>

- ## 构造器概要

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

- ## 方法概要

  修饰符和类型
  方法
  说明
  `TextComponent`
  `deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)`
  `com.google.gson.JsonElement`
  `serialize(TextComponent src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)`

  ### 从类继承的方法 net.md_5.bungee.chat.BaseComponentSerializer

  `deserialize, serialize`

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

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

- ## 构造器详细资料

  - ### TextComponentSerializer

    public TextComponentSerializer()

- ## 方法详细资料

  - ### deserialize

    public TextComponent deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
    指定者:
      `deserialize` 在接口中 `com.google.gson.JsonDeserializer<TextComponent>`
    抛出:
      `com.google.gson.JsonParseException`

  - ### serialize

    public com.google.gson.JsonElement serialize(TextComponent src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
    指定者:
      `serialize` 在接口中 `com.google.gson.JsonSerializer<TextComponent>`