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