Class EnchantmentSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<Enchantment>
de.eldoria.jacksonbukkit.serializer.EnchantmentSerializer
- All Implemented Interfaces:
JsonFormatVisitable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
JsonSerializer.None
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(Enchantment value, JsonGenerator gen, SerializerProvider serializers) Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
-
Field Details
-
LEGACY
public static final boolean LEGACY
-
-
Constructor Details
-
EnchantmentSerializer
public EnchantmentSerializer()
-
-
Method Details
-
serialize
public void serialize(Enchantment value, JsonGenerator gen, SerializerProvider serializers) throws IOException - Specified by:
serialize
in classJsonSerializer<Enchantment>
- Throws:
IOException
-