Package-level declarations

Functions

Link copied to clipboard
fun decodeJsonElement(typeReference: TypeReference, options: Map<String, String>, valueName: String = "jsonElement"): String

Decode a typeReference from a JSON element. The resulting expression will always be a value of the type.

Link copied to clipboard
fun encodeJsonElement(typeReference: TypeReference, options: Map<String, String>, valueName: String = "value"): String

Encode a typeReference to a JSON element. The resulting expression will always be a JsonElement.

Link copied to clipboard