kpropmap
kpropmap copied to clipboard
Kotlinx serialization
I've created kproxymap to facilitate use of kotlinx.serialization compiler plugin generated serialization with proxy maps in https://github.com/moshbear/kproxymap . You're welcome to use the ideas with attribution.
Yes, it's also reflection-heavy, but (1) there's caching to make the cost one-time per distinct proxied type, and (2) querying copy method params and properties otherwise isn't feasible without going into KSP transformations
Interesting, thank you for the pointer.