kotlinx.serialization VS spring-native

Compare kotlinx.serialization vs spring-native and see what are their differences.


Kotlin multiplatform / multi-format serialization (by Kotlin)


Spring Native provides beta support for compiling Spring applications to native executables using GraalVM native-image compiler. (by spring-projects-experimental)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
kotlinx.serialization spring-native
28 15
3,492 2,251
3.6% 3.6%
8.8 9.7
4 days ago about 17 hours ago
Kotlin Java
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of kotlinx.serialization. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-21.


Posts with mentions or reviews of spring-native. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-12.
  • Podrá Spring Native revivir a Java?
    1 project | dev.to | 28 Oct 2021
    fuente: https://spring.io/blog/2021/03/11/announcing-spring-native-beta
  • Annotation-free Spring
    5 projects | reddit.com/r/java | 12 Sep 2021
    As I just found out thanks to a comment from another Redditor, spring-aot will be getting some functional configuration compile time generation support in Spring Native's next release
    5 projects | reddit.com/r/java | 12 Sep 2021
    But I just took a peek at Spring Native roadmap for 0.11 and they will be adding some of the spring-fu and spring-init-inspired functional configuration to spring-aot project (which, like I mentioned in another comment, already has compile-time generation support for various dynamic proxies that you mentioned)
  • Curious about opinions of the best cloud native microservice Java framework
    3 projects | reddit.com/r/java | 17 Jul 2021
    Not sure how far they are currently, but have you heard of Spring Native? https://spring.io/blog/2021/03/11/announcing-spring-native-beta
  • "Java Guitar Hero!", — Hanno Embregts
    1 project | dev.to | 22 Jun 2021
    I have to say Spring. Because it is so mature and well-documented. Sure, it is bloated sometimes and not very well-suited for small JAR packages. And I have tried other frameworks as well, but I find that I keep returning to Spring. Especially since Spring keeps adding features that caused competing framework to have an edge over Spring, like native images with Spring Native for example.
  • Kotlin Team AMA #3: Ask Us Anything
    52 projects | reddit.com/r/Kotlin | 27 May 2021
    Our next steps are : provide great Kotlin/JVM/Native (Native with Kotlin JVM via GraalVM native images) support via https://github.com/spring-projects-experimental/spring-native/, empowering multiplatform development (with Kotlin/JS frontend for example), translating Spring Boot documentation to Kotlin (via a contribution from Kotlin team), make sure that some APIs like WebTestClient currently broken with Kotlin due to some type inference bugs with recursive generic types become usable.
  • Is it right to use Spring & Spring boot?
    2 projects | reddit.com/r/java | 17 Apr 2021
    I doubt micronaut has better runtime performance. You're probably talking about startup time and this point is moot with either https://github.com/dsyer/spring-boot-auto-reflect Or https://spring.io/blog/2021/03/11/announcing-spring-native-beta
  • Why I use Quarkus rather than Spring-Boot for my CNA apps
    1 project | reddit.com/r/programming | 16 Apr 2021
    You mean Spring Native which is still in Beta? Yeah, Quarkus is miles ahead on this front.
    2 projects | reddit.com/r/java | 15 Apr 2021
    The real comparison would be Quarkus vs Spring Native.
  • Spring Native: Spring Boot but faster
    2 projects | dev.to | 9 Apr 2021
    But in March 2021, something happened in the community of Spring Boot users, and that was the release of the beta program of Spring Native.

What are some alternatives?

When comparing kotlinx.serialization and spring-native you can also consider the following projects:

Quarkus - Quarkus: Supersonic Subatomic Java.

klaxon - A JSON parser for Kotlin

Moshi - A modern JSON library for Kotlin and Java.

jackson-module-kotlin - Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.

ktor - Framework for quickly creating connected applications in Kotlin with minimal effort

kotlin-json - A JavaScript Object Notation library for Kotlin JVM.

Micronaut - Micronaut Application Framework

koin - Koin - a pragmatic lightweight dependency injection framework for Kotlin

kotlinx.html - Kotlin DSL for HTML

fluid-json - A JSON library written in pure Kotlin

kson - Gson TypeAdapter & Factory generator for Kotlin data classes

ext4klaxon - Type Extensions for Klaxon (Kotlin JSON library)