ktoml
kotlinx.serialization
ktoml | kotlinx.serialization | |
---|---|---|
6 | 52 | |
431 | 5,144 | |
- | 0.9% | |
7.1 | 8.5 | |
1 day ago | 6 days ago | |
Kotlin | Kotlin | |
MIT License | 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.
ktoml
-
Ktoml 0.5.0 released π
Last week we have finally released a new version (0.5.0) of ktoml, a multiplatform serialization library for TOML format with Kotlin extensions based on KxS π₯³. As many developers are already using version 0.4.0, this announcement may be important for you. This release took us a lot of time, as we had to make slight changes to the library's API, migrate the processing logic to sequences, and finally support serialization and deserialization of multiline strings. Under the hood, we have updated Kotlin, kotlinx.serialization, and made some small improvements (release notes)
-
Ktoml 0.4.0 released π
We have just released a new 0.4.0 version of [ktoml](https://github.com/akuleshov7/ktoml) (MPP serialization library for TOML format with Kotlin extensions based on the KxS) π₯³. As a lot of developers are already using our 0.3.0 version, so this announcement may be important for you. In the new release we have focused more on the support of new types to make userβs serialization more convenient. Adoption of Kotlin 1.8, bugfixes and more are also there ([release notes](https://github.com/akuleshov7/ktoml/releases/tag/v0.4.0)).
- Ktoml 0.3.0 released
-
Jackson, moshi or kotlinx.serialization?
Kotlinx serialization is so elegant and nice, I really love it. I love it so much that I spent some time on making toml serialization library based on it: https://github.com/akuleshov7/ktoml
-
Ktoml 0.2.9 released
Hi all! I have released new version (0.2.9) of Ktoml (Kotlin native serialization library for Toml format). A bunch of new things were added since my last update in this group, including several new functionalities, support for Kotlin 1.6, KotlinJS, and other things. The library is growing and people are already actively using it. But unfortunately I am still supporting this alone. So I would like to invite you to test new version and may be even to contribute. At least you can help me to attract new developers with a small thing - a star on the github π
- Kotlin Native serialization library for TOML
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?
bluetooth-le - Capacitor plugin for Bluetooth Low Energy
jackson-module-kotlin - Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.
kotlinx-io - Kotlin multiplatform I/O library
Moshi - A modern JSON library for Kotlin and Java.
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
klaxon - A JSON parser for Kotlin
kotlinx-serialization-typescript-generator - KxsTsGen :: Generate TypeScript interfaces from Kotlin classes
Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
codecv - Manage your resume as structured data: CV format specification and tools to manage CV documents.
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
kotlinx.atomicfu - The idiomatic way to use atomic operations in Kotlin
kotlin-json - A JavaScript Object Notation library for Kotlin JVM.