Class PluginBrandingAdapter
java.lang.Object
org.spongepowered.plugin.metadata.builtin.adapter.model.PluginBrandingAdapter
- All Implemented Interfaces:
JsonDeserializer<PluginBranding>,JsonSerializer<PluginBranding>
public final class PluginBrandingAdapter
extends Object
implements JsonSerializer<PluginBranding>, JsonDeserializer<PluginBranding>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonElement element, Type type, JsonDeserializationContext context) serialize(PluginBranding value, Type type, JsonSerializationContext context)
-
Constructor Details
-
PluginBrandingAdapter
public PluginBrandingAdapter()
-
-
Method Details
-
deserialize
public PluginBranding deserialize(JsonElement element, Type type, JsonDeserializationContext context) throws JsonParseException - Specified by:
deserializein interfaceJsonDeserializer<PluginBranding>- Throws:
JsonParseException
-
serialize
- Specified by:
serializein interfaceJsonSerializer<PluginBranding>
-