Is there any easy way or any standard library method to convert a Kotlin data class object to a map/dictionary of it\'s properties by property names? Can reflection be avoid
The closest you can get is with delegated properties stored in a map.
Example (from link):
class User(val map: Map) { val name: String by map val age: Int by map }
Using this with data classes may not work very well, however.