Problem passing a Collection as "clazz: Class<T>"

I followed up with the library owner and found that there is a method with the signature fun <T> extractValueAsObject(path: String, typeRef: TypeRef<T>): T which seems the right one to be used from Kotlin.

Thanks for your answers, you pointed me to the fact that there was something broken with the interface I was trying to use. :slight_smile:

1 Like