Class RGBColorSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<Color>
de.eldoria.jacksonbukkit.serializer.RGBColorSerializer
- All Implemented Interfaces:
JsonFormatVisitable
Class for serialization of
Color
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
JsonSerializer.None
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(Color 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
-
Constructor Details
-
RGBColorSerializer
public RGBColorSerializer()
-
-
Method Details
-
serialize
public void serialize(Color value, JsonGenerator gen, SerializerProvider serializers) throws IOException - Specified by:
serialize
in classJsonSerializer<Color>
- Throws:
IOException
-