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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(tools.jackson.core.JsonParser p, tools.jackson.databind.DeserializationContext ctxt)
     
    protected ItemStack
    parseTree(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      deserialize in class tools.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