deserialize

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

Deserializes JsonElement to Component.

Since

0.2.0

Return

The component

Parameters

json

The json element

typeOfT

The type of Component

Throws

JsonSyntaxException

If a type mismatched the json or the children/style/args can't be deserialized