Class MaterialChoiceSerializer
java.lang.Object
tools.jackson.databind.ValueSerializer<RecipeChoice.MaterialChoice>
de.eldoria.jacksonbukkit.serializer.MaterialChoiceSerializer
- All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class MaterialChoiceSerializer
extends tools.jackson.databind.ValueSerializer<RecipeChoice.MaterialChoice>
Class for serialization of
RecipeChoice.MaterialChoice.-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
tools.jackson.databind.ValueSerializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(RecipeChoice.MaterialChoice value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext serializers) Methods inherited from class tools.jackson.databind.ValueSerializer
acceptJsonFormatVisitor, createContextual, getDelegatee, handledType, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
-
Constructor Details
-
MaterialChoiceSerializer
public MaterialChoiceSerializer()
-
-
Method Details
-
serialize
public void serialize(RecipeChoice.MaterialChoice value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext serializers) throws tools.jackson.core.JacksonException - Specified by:
serializein classtools.jackson.databind.ValueSerializer<RecipeChoice.MaterialChoice>- Throws:
tools.jackson.core.JacksonException
-