Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlinx serialization #4

Open
moshbear opened this issue Nov 17, 2024 · 1 comment
Open

Kotlinx serialization #4

moshbear opened this issue Nov 17, 2024 · 1 comment

Comments

@moshbear
Copy link

moshbear commented Nov 17, 2024

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

@rocketraman
Copy link
Owner

Interesting, thank you for the pointer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants