How do you convert a data class to a map object?
# stdlib
a
How do you convert a data class to a map object?
m
You can use Lychee Structs instead of data classes. https://github.com/Miha-x64/Lychee They are easily traversable and can be converted to any format.