For just one level it would be using : ` Types.new...
# squarelibraries
d
For just one level it would be using :
Types.newParameterizedType(JsonRpcResponse::class.java, resultType)
but even though I did the same for the list and passed it as
resultType
I get
Types.newParameterizedType(JsonRpcResponse::class.java, resultType)