Class PotionEffectTypeSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<PotionEffectType>
de.eldoria.jacksonbukkit.serializer.PotionEffectTypeSerializer
- All Implemented Interfaces:
JsonFormatVisitable
Class for serialization of
PotionEffect
.-
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
(PotionEffectType 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
-
PotionEffectTypeSerializer
public PotionEffectTypeSerializer()
-
-
Method Details
-
serialize
public void serialize(PotionEffectType value, JsonGenerator gen, SerializerProvider serializers) throws IOException - Specified by:
serialize
in classJsonSerializer<PotionEffectType>
- Throws:
IOException
-