Class HexRGBColorSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<Color>
de.eldoria.jacksonbukkit.serializer.HexRGBColorSerializer
- 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
-
HexRGBColorSerializer
public HexRGBColorSerializer()
-
-
Method Details
-
serialize
public void serialize(Color value, JsonGenerator gen, SerializerProvider serializers) throws IOException - Specified by:
serialize
in classJsonSerializer<Color>
- Throws:
IOException
-