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