In my application I want to create an generic method which creates an array of object depening on the given type T.
I created the following function:
fun
Don't call it like
object.getArray("key")
Instead, leave out the "" part, like this:
Fixed the issue for me.