LocationAdapter

class LocationAdapter : JsonSerializer<Location> , JsonDeserializer<Location>

A JsonSerializer and JsonDeserializer for a Location.

Constructors

LocationAdapter
Link copied to clipboard
fun LocationAdapter()

Functions

deserialize
Link copied to clipboard
open override fun deserialize(json: JsonElement, typeOfT: Type, context: JsonDeserializationContext): Location
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
serialize
Link copied to clipboard
open override fun serialize(src: Location, typeOfSrc: Type, context: JsonSerializationContext): JsonElement
toString
Link copied to clipboard
open fun toString(): String