encodeJsonElement
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.