decodeJsonElement

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.