deserialize

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

Deserializes JsonElement to Location

Since

0.2.0

Return

The deserialized Location

Parameters

json

The serialized Location as JsonElement

typeOfT

The type of the Location

context

The json deserialization context

Throws

JsonSyntaxException

If a type mismatched the json