Also second problem with jacksonObjectMapper when ...
# getting-started
s
Also second problem with jacksonObjectMapper when creating a general json to List<Object> mapper.. Been trying to figure this out for days.. 🙂
Copy code
public inline fun <reified T: Any> fromJson(jsonString: String): List<T> {
    var readValue = jacksonObjectMapper().readValue(jsonString, TypeReference<List<T::class.java>>(){
    })

    return readValue

}