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