Join Slack
Powered by
How do I get the fields and types of a class simil...
# getting-started
m
martmists
12/11/2021, 1:52 AM
How do I get the fields and types of a class similar to how kotlinx.serialization does it? (using kotlin native)
e
ephemient
12/11/2021, 2:21 AM
serialization does so at compile time using a compiler plugin
ephemient
12/11/2021, 2:23 AM
if you wanted to do something similar, it will be easier to build on top of
https://github.com/google/ksp
(
#ksp
)
https://github.com/JetBrains-Research/reflekt
2
Views
Open in Slack
Previous
Next