Class PaperItemStackSerializer
java.lang.Object
tools.jackson.databind.ValueSerializer<ItemStack>
de.eldoria.jacksonbukkit.serializer.LegacyItemStackSerializer
de.eldoria.jacksonbukkit.serializer.PaperItemStackSerializer
- All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
Class for serialization of
ItemStack as byte[].-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
tools.jackson.databind.ValueSerializer.None -
Constructor Summary
Constructors -
Method Summary
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
-
PaperItemStackSerializer
public PaperItemStackSerializer()
-
-
Method Details
-
serialize
public void serialize(ItemStack value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext serializers) throws tools.jackson.core.JacksonException - Overrides:
serializein classLegacyItemStackSerializer- Throws:
tools.jackson.core.JacksonException
-