Class ItemTag.Serializer

java.lang.Object
net.md_5.bungee.api.chat.ItemTag.Serializer
All Implemented Interfaces:
com.google.gson.JsonDeserializer<ItemTag>, com.google.gson.JsonSerializer<ItemTag>
Enclosing class:
ItemTag

public static class ItemTag.Serializer extends Object implements com.google.gson.JsonSerializer<ItemTag>, com.google.gson.JsonDeserializer<ItemTag>
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • deserialize

      public ItemTag deserialize(com.google.gson.JsonElement element, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<ItemTag>
      Throws:
      com.google.gson.JsonParseException
    • serialize

      public com.google.gson.JsonElement serialize(ItemTag itemTag, Type type, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<ItemTag>