Hi everyone, can i have this mnethoid delcaration ...
# getting-started
g
Hi everyone, can i have this mnethoid delcaration in an interface?
Copy code
inline fun <reified T: Any> parseErrorResponse(errorResponse: Error): T? {
        return jsonMapper.readValue(errorJson(errorResponse).toString(), T::class.java)
    }
i would like it to be a standard interface method