Class StyleSerializerExtended

java.lang.Object
com.google.gson.TypeAdapter<net.kyori.adventure.text.format.Style>
com.github.retrooper.packetevents.util.adventure.StyleSerializerExtended

public class StyleSerializerExtended extends com.google.gson.TypeAdapter<net.kyori.adventure.text.format.Style>
  • Method Summary

    Modifier and Type
    Method
    Description
    net.kyori.adventure.text.format.Style
    read(com.google.gson.stream.JsonReader in)
     
    void
    write(com.google.gson.stream.JsonWriter out, net.kyori.adventure.text.format.Style value)
     

    Methods inherited from class com.google.gson.TypeAdapter

    fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • read

      public net.kyori.adventure.text.format.Style read(com.google.gson.stream.JsonReader in) throws IOException
      Specified by:
      read in class com.google.gson.TypeAdapter<net.kyori.adventure.text.format.Style>
      Throws:
      IOException
    • write

      public void write(com.google.gson.stream.JsonWriter out, net.kyori.adventure.text.format.Style value) throws IOException
      Specified by:
      write in class com.google.gson.TypeAdapter<net.kyori.adventure.text.format.Style>
      Throws:
      IOException