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