Class ItemSerializer
java.lang.Object
net.md_5.bungee.api.chat.hover.content.ItemSerializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<Item>
,com.google.gson.JsonSerializer<Item>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ItemSerializer
public ItemSerializer()
-
-
Method Details
-
deserialize
public Item 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<Item>
- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(Item content, Type type, com.google.gson.JsonSerializationContext context) - Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<Item>
-