deserialize

open override fun deserialize(json: JsonElement, typeOfT: Type, context: JsonDeserializationContext): ItemStack

Deserializes JsonElement to ItemStack

Return

The deserialized ItemStack

Parameters

json

The json element

typeOfT

The type of ItemStack

context

The deserialization context

Throws

If the Base64 value is invalid

JsonSyntaxException

If the JsonElement is not a String