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 support for Kotlin serialization #47

Open
raderio opened this issue Apr 14, 2019 · 5 comments
Open

Add support for Kotlin serialization #47

raderio opened this issue Apr 14, 2019 · 5 comments
Labels
type: enhancement New feature or request

Comments

@raderio
Copy link

raderio commented Apr 14, 2019

https://github.com/Kotlin/kotlinx.serialization

Kotlin cross-platform / multi-format reflectionless serialization.
Kotlin serialization consists of a compiler plugin, which automatically produces visitor code for classes, and runtime library, which uses generated code to serialize objects without reflection.

@willbuck
Copy link
Contributor

willbuck commented Jan 6, 2020

@raderio is there something that would prevent you from using this? I haven't looked into it that closely yet, but I'm not certain we would be able to easily accommodate this in the internals of micronaut-core, as we want to support Java and Groovy as well, so Jackson's interoperability on all the JVM languages makes the most sense to use.

Can you provide more detail as to what "supporting" kotlin serialization would look like? Nothing should prevent you from using this yourself in your application code that I'm aware of.

@graemerocher graemerocher transferred this issue from micronaut-projects/micronaut-core Jan 7, 2020
@graemerocher
Copy link
Contributor

If a module were to be built or contributed think it makes more sense here

@willbuck
Copy link
Contributor

willbuck commented Apr 2, 2020

@raderio Any follow-up on this request?

@NorbertSandor
Copy link

NorbertSandor commented Oct 5, 2020

@raderio Any follow-up on this request?

Only as info, Spring will support kotlinx.serialization as an alternative to Jackson:

I think that many Kotlin users would be happy with a similar solution in Micronaut as well ;)

@dave08
Copy link

dave08 commented Aug 20, 2023

An extra plus for this implementation would be support for kotlin's value classes which I think Jackson can't support...

@sdelamo sdelamo added the type: enhancement New feature or request label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
Development

No branches or pull requests

6 participants