Hi, are there any existing solutions to auto-generate a Kotlin data class from Java class parameter (like
Pojo.class
) or any other way?
m
Matteo Mirk
07/13/2021, 12:45 PM
No existing solution to achieve this. What do you want to accomplish, if Pojo is a JavaBean you would like an equivalent data class Pojo to be generated? For what purpose?
u
Umar Ata
07/13/2021, 3:58 PM
I use json string and pass it to json to kotlin extension plugin and it generates kotlin data class