Open raderio opened 5 years ago
@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.
If a module were to be built or contributed think it makes more sense here
@raderio Any follow-up on this request?
@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 ;)
An extra plus for this implementation would be support for kotlin's value class
es which I think Jackson can't support...
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.