deserialize

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

Deserializes JsonElement to ShopAction

Since

0.2.0

Return

The deserialized ShopAction

Parameters

json

The serialized ShopAction as JsonElement

typeOfT

The type of the ShopAction

context

The json deserialization context

Throws

JsonSyntaxException

If the shopAction is unknown or an ItemStack failed to deserialize