Armeria
kotlinx.serialization
Our great sponsors
Armeria | kotlinx.serialization | |
---|---|---|
7 | 52 | |
4,671 | 5,088 | |
1.2% | 1.4% | |
9.6 | 8.5 | |
4 days ago | 7 days ago | |
Java | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
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.
Armeria
-
Evaluating Spring Boot, Quarkus, or Micronaut and why for Stargate v2
OP doesn't seem to be aware of Armeria https://github.com/line/armeria
-
Best library for messenger backend (JVM)
Armeria (https://armeria.dev/) is a very underrated framework and does not get enough love, it works fabulously with Kotlin (coroutines support also built-in) and integrates nicely with GRPC, Thrift, etc. The maintainers are very responsive and nice and always helping people out.
-
Google hired union-busting consultants to convince employees “unions suck”
Honestly yes? Higher pay, less overtime.
Enjoy https://github.com/line/armeria from a unionized tech company of South Korea!
- gRPC, Thrift, REST Server framework
-
Java Equivalent of Express.js for REST
If you want something really small that simply let's you expose REST APIs using plain Java, without the IoC containers, you might want to check out Javalin, Ratpack or Armeria
-
A Kotlin programmer's approach to microservices?
Check out Armeria, it's a newer framework from the creator of Netty for micro services and comes with many builtin functionalities for service discovery, logging and fault tolerance. It's getting a lot of adoption from companies like Slack, Doordash, Afterpay and Databricks too. It kind of reminds me of Finagle from the Scala ecosystem in that it supports many different protocols (gRPC, thrift and HTTP).
-
sttp now suppots Armeria backend
Armeria which fully supports Reactive Streams and non-blocking IO now powers sttp as a backend.
kotlinx.serialization
-
How would I serialize a JSON primitive to a class?
Have you tried this:? https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serializers.md
-
kotlinx-serialization won't serialize a List?
Regardless, I followed the documentation to register List for polymorphic serialization and my static code analysis does not seem to be happy with it.
-
Is rust serde unique?
I think kotlinx.serialization might come close, but looks like custom Encoders and Decoders are still experimental.
-
[Android/Multiplatform] Kotlin Flows + Ktor = Flawless HTTP requests (- ArrowKt)
This example will not work on a multiplatform project. you are using gson, gson runs only on jvm, you should use https://github.com/Kotlin/kotlinx.serialization for the json parsing
-
Why should I use kotlinx.serialization?
This is the issue to +1 https://github.com/Kotlin/kotlinx.serialization/issues/1931
- Generate Kotlin client for a complex web API
-
Question about app weight... I want to use Apache commons math3, should I fork it and "crop" it to reduce compile times and app weight?
Fun fact, kotlinx.serialization had a release just recently which makes it come with some bundled proguard rules to make this experience easier. Yes you'll still have issues if you're using things via reflection and try to serialize things that proguard deemed unused and removed them, but it's a step forward https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.5.0-RC
-
Modern Android Development in 2023
Kotlin Serialization
-
Apple's Swift rewrite of its Foundation framework will be open source
Kotlin Serialization is also a newer option, but doesn't have as much traction.
-
Jackson, moshi or kotlinx.serialization?
``` see the docs
What are some alternatives?
ktor - Framework for quickly creating connected applications in Kotlin with minimal effort
jackson-module-kotlin - Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.
unirest-java - Unirest in Java: Simplified, lightweight HTTP client library.
Moshi - A modern JSON library for Kotlin and Java.
Google HTTP Client - Google HTTP Client Library for Java
klaxon - A JSON parser for Kotlin
Quarkus - Quarkus: Supersonic Subatomic Java.
Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
methanol - ⚗️ Lightweight HTTP extensions for Java
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
Vert.x - Vert.x is a tool-kit for building reactive applications on the JVM
kotlin-json - A JavaScript Object Notation library for Kotlin JVM.