https://kotlinlang.org logo
#announcements
Title
# announcements
s

skoude

02/10/2017, 9:06 AM
The easiest way was:
Copy code
inline fun <reified T: Any> fromJson(jsonString: String): List<T> {
    return (jacksonObjectMapper().readValue(jsonString))
}