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