ktoml
jackson-module-kotlin
ktoml | jackson-module-kotlin | |
---|---|---|
6 | 9 | |
430 | 1,107 | |
- | 1.1% | |
7.0 | 9.3 | |
10 days 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
jackson-module-kotlin
-
Jackson, moshi or kotlinx.serialization?
strictNullCheck option in the Kotlin module doesn't cover non-object-field situations at all. https://github.com/FasterXML/jackson-module-kotlin/issues/479
-
Strings, Please! Eliminating Data Leaks Caused by Kotlin Assertions
But, it sucked. I was constantly finding bugs related to nullability, around generics, inline/value classes, etc. And it wasn't the typical trivial ones, either. Figuring out that you're calling a Java library and encountering a "platform type" is the least problematic. My biggest struggle came from using libraries that were written in Java first, but then added a Kotlin API on top. So, my code didn't know I was dealing with a platform type and neither did I. Yet they were still broken. Some of them are broken in an unfixable way, such as JacksonXML's Kotlin module: https://github.com/FasterXML/jackson-module-kotlin/issues/479. So many Java libraries rely on reflection even when it's not obvious that they might, so you pretty much can't ever use value classes in Kotlin, including the unsigned number types.
-
From Java to Kotlin. There and back again
You should add Jackson Module Kotlin in your project. After that, you can't specify a type of object explicitly.
-
How Cloudflare security responded to log4j2 vulnerability
Not really, you just need to handle some standard types and have a good extension mechanism to let the user implement factories. That library having built in support for UUID and datetime is probably a bit much, I'd prefer a plugin like https://github.com/FasterXML/jackson-module-kotlin
-
Ktor vs Spring for creating an API
There is a bug at this very moment that makes it literally impossible to deserialize [1, 2, 3, null] into a List with Jackson's Kotlin module. Yes- even if you set KotlinModule(strictNullChecks = true). It's just broken. (Here's the link: https://github.com/FasterXML/jackson-module-kotlin/issues/479)
-
Kotlin Team AMA #3: Ask Us Anything
Got you, thanks. I didn’t mean to sound offensive - a better wording would be that they don’t seem to prioritize this part, at least based on https://github.com/FasterXML/jackson-module-kotlin/issues/199, which has one abandoned branch from a 3rd party and a couple of comments from from maintainers.
-
kotlinx.serialization 1.2 Released: High-Speed JSON Handling, Value Class Support, Overhauled Docs, and more
If you use Jackson, don't forget to include the Kotlin extensions https://github.com/FasterXML/jackson-module-kotlin
-
Serializing and deserializing "Any" Kotlin type using jackson mapper
Did you include jackson-module-kotlin?
What are some alternatives?
bluetooth-le - Capacitor plugin for Bluetooth Low Energy
kotlinx.serialization - Kotlin multiplatform / multi-format serialization
kotlinx-io - Kotlin multiplatform I/O library
klaxon - A JSON parser for Kotlin
http4k - The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
avro4k - Avro support for kotlinx.serialization
kotlinx-serialization-typescript-generator - KxsTsGen :: Generate TypeScript interfaces from Kotlin classes
Kotson
codecv - Manage your resume as structured data: CV format specification and tools to manage CV documents.
KTON - Object notation in pure Kotlin!
kotlinx.atomicfu - The idiomatic way to use atomic operations in Kotlin
fluid-json - A JSON library written in pure Kotlin