deserialize

open override fun deserialize(json: JsonElement?, typeOfT: Type?, context: JsonDeserializationContext?): JSONResult<GeoJSONAttributes>?

Deserializes the JSON element based on the type property within the "geojson" node.

Return

The deserialized JSONResult<GeoJSONAttributes> object or null if the type is not supported.

Parameters

json

The JSON element to deserialize.

typeOfT

The expected type of the deserialized object (should be JSONResult<GeoJSONAttributes>).

context

The deserialization context from Gson.