Class LegacyItemStackDeserializer
java.lang.Object
tools.jackson.databind.ValueDeserializer<ItemStack>
de.eldoria.jacksonbukkit.deserializer.LegacyItemStackDeserializer
- All Implemented Interfaces:
tools.jackson.databind.deser.NullValueProvider
- Direct Known Subclasses:
PaperItemStackDeserializer
public class LegacyItemStackDeserializer
extends tools.jackson.databind.ValueDeserializer<ItemStack>
Class for deserialization of
ItemStack as a map.-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueDeserializer
tools.jackson.databind.ValueDeserializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) protected ItemStackparseTree(tools.jackson.databind.JsonNode tree, tools.jackson.databind.DeserializationContext ctxt) Methods inherited from class tools.jackson.databind.ValueDeserializer
createContextual, deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, resolve, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
LegacyItemStackDeserializer
public LegacyItemStackDeserializer()
-
-
Method Details
-
deserialize
public ItemStack deserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt) throws tools.jackson.core.JacksonException - Specified by:
deserializein classtools.jackson.databind.ValueDeserializer<ItemStack>- Throws:
tools.jackson.core.JacksonException
-
parseTree
protected ItemStack parseTree(tools.jackson.databind.JsonNode tree, tools.jackson.databind.DeserializationContext ctxt) throws tools.jackson.core.JacksonException - Throws:
tools.jackson.core.JacksonException
-