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

Add Kotlin Serialization Support #778

Open
robertfmurdock opened this issue Jul 12, 2024 · 0 comments
Open

Add Kotlin Serialization Support #778

robertfmurdock opened this issue Jul 12, 2024 · 0 comments

Comments

@robertfmurdock
Copy link

Is your feature request related to a problem? Please describe.

For people who want to use the Kotlin codegeneration and also use Kotlin serialization, annotations need to be used. As is, only reflective kotlin parsing frameworks can be used.

Describe the solution you'd like

Add an option to the kotlin codegen that enables inclusion of these annotations.

Describe alternatives you've considered

The kotlin serialization plugin only offers generated serializers as an alternative to its own generated serializers, which would require substantially more code generation (and not be that great anyway).

Additional context

I'm a user of kotlin multiplatform, where kotlin serialization works but the Java-only JSON parsing choices do not, so it solves a problem for me.

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

1 participant