Package net.md_5.bungee.api.chat
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
-
Constructor Summary
-
Method Summary
-
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 interfacecom.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 interfacecom.google.gson.JsonSerializer<ItemTag>
-