kotlinx.serialization
Kotlin-Multiplatform-Libraries
Our great sponsors
kotlinx.serialization | Kotlin-Multiplatform-Libraries | |
---|---|---|
52 | 5 | |
5,099 | 2,542 | |
1.6% | - | |
8.5 | 8.0 | |
1 day ago | about 1 month ago | |
Kotlin | ||
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.
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
Kotlin-Multiplatform-Libraries
-
Multi-platform libraries built with Kotlin Multiplatform (KMP)
There's nothing you can do. However, Kotlin's official provides several libraries, so the scope that can be achieved using them is by no means small. Also, AAkira/Kotlin-Multiplatform-Libraries introduces several famous libraries created with Kotlin Multiplatform, which can be helpful. However, it can be quite disappointing when certain environments are not supported. But let's think of it as an opportunity! Let's become the first person to implement it!
-
Do you use kotlin/js?
Now if you're just writing a crud app (what my hobby project is) and you use compose multiplatform for your UI, SQLDelight for persistence, and one of the many MPP architecture libraries, you don't have to write a wrapper.
-
How We integrated Kotlin Multiplatform Into Profi
We did encounter some problems as a result of our ignorance. When we started on the project, there was very little information on the implementation of KMM, so we had to solve all of the issues ourselves. The Kotlin Multiplatform community is growing rapidly with more articles and reports appearing at conferences and meetups. There are channels in Slack and Telegram, libraries for Kotlin Multiplatform, and so on, plenty of information sources available.
-
Kotlin Team AMA #3: Ask Us Anything
From https://github.com/AAkira/Kotlin-Multiplatform-Libraries#cipher: https://github.com/korlibs/krypto https://github.com/ionspin/kotlin-multiplatform-libsodium
-
WooCommerce Client - Kotlin Multiplatform mobile - Discussion for Library
There is a fair selection of libs listed here: Kotlin-Multiplatform-Libraries If you need some deeper insights drop me a DM
What are some alternatives?
jackson-module-kotlin - Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.
Decompose - Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing (navigation) and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.)
Moshi - A modern JSON library for Kotlin and Java.
kotlinx-datetime - KotlinX multiplatform date/time library
klaxon - A JSON parser for Kotlin
multiplatform-settings - A Kotlin Multiplatform library for saving simple key-value data
Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
kotlinx.coroutines - Library support for Kotlin coroutines
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
KorGE - KorGE Game Engine. Multiplatform Kotlin Game Engine
kotlin-json - A JavaScript Object Notation library for Kotlin JVM.
koin - Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform