net.minecraft.util

## Class ChatStyle.Serializer

- java.lang.Object
- - net.minecraft.util.ChatStyle.Serializer

- All Implemented Interfaces:
    com.google.gson.JsonDeserializer, com.google.gson.JsonSerializer
  Enclosing class:
    ChatStyle

      public static class ChatStyle.Serializer
      extends java.lang.Object
      implements com.google.gson.JsonDeserializer, com.google.gson.JsonSerializer

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ChatStyle.Serializer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ChatStyle` | `deserialize(com.google.gson.JsonElement p_150204_1_, java.lang.reflect.Type p_150204_2_, com.google.gson.JsonDeserializationContext p_150204_3_)`
    `com.google.gson.JsonElement` | `serialize(ChatStyle p_150203_1_, java.lang.reflect.Type p_150203_2_, com.google.gson.JsonSerializationContext p_150203_3_)`
    `com.google.gson.JsonElement` | `serialize(java.lang.Object par1Obj, java.lang.reflect.Type par2Type, com.google.gson.JsonSerializationContext par3JsonSerializationContext)`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### ChatStyle.Serializer

          public ChatStyle.Serializer()

  - ### Method Detail

    - #### deserialize

          public ChatStyle deserialize(com.google.gson.JsonElement p_150204_1_,
                              java.lang.reflect.Type p_150204_2_,
                              com.google.gson.JsonDeserializationContext p_150204_3_)

      Specified by:
        `deserialize` in interface `com.google.gson.JsonDeserializer`

    - #### serialize

          public com.google.gson.JsonElement serialize(ChatStyle p_150203_1_,
                                              java.lang.reflect.Type p_150203_2_,
                                              com.google.gson.JsonSerializationContext p_150203_3_)

    - #### serialize

          public com.google.gson.JsonElement serialize(java.lang.Object par1Obj,
                                              java.lang.reflect.Type par2Type,
                                              com.google.gson.JsonSerializationContext par3JsonSerializationContext)

      Specified by:
        `serialize` in interface `com.google.gson.JsonSerializer`