convertFromString

abstract fun <T : Any> convertFromString(body: String, bodyType: KClass<T>): T

Converts the given body string into an object of type bodyType.

Sources

Link copied to clipboard