deserialize

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

Deserializes JsonElement to Style

Since

0.2.0

Return

The deserialized Style

Parameters

json

The serialized Style as JsonElement

typeOfT

The type of the Style

context

The json deserialization context

Throws

JsonSyntaxException

If a type mismatched the json or the hoverevent action is invalid