How do I get the fields and types of a class simil...
# getting-started
m
How do I get the fields and types of a class similar to how kotlinx.serialization does it? (using kotlin native)
e
serialization does so at compile time using a compiler plugin
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