PeopleInSpace
jackson-module-kotlin
Our great sponsors
PeopleInSpace | jackson-module-kotlin | |
---|---|---|
9 | 9 | |
2,781 | 1,097 | |
- | 0.7% | |
8.5 | 9.4 | |
4 days ago | 5 days ago | |
Kotlin | 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.
PeopleInSpace
-
Kotlin Multiplatform: Android + BE (ktor)
I'm already using this structure with one of my projects and I found the experience really pleasant. There are good examples of doing it, one of them being: https://github.com/joreilly/PeopleInSpace
-
Is there extra benefits of using Koin instead of Dagger Hilt in KMM?
It does work with iOS. You just have to structure it in a way that'll work well. See the People In Space repo to see how it works with iOS
-
Your opinions on the current state of the Kotlin Multiplatform and Kotlin/JS
I mostly walked into the setup. My team already did a lot of heavy lifting. I will try to piece together something for the structure/template. Meanwhile, lot of samples are already present here : https://kotlinlang.org/docs/multiplatform-mobile-samples.html Specially https://github.com/joreilly/PeopleInSpace
- I developed an Android App and now want to go Multi Platform - What's the smartest way to do it? 🤷‍♀️ (Flutter? Kotlin Cross Platform? Or something else?)
-
View Model Doesn’t Have To Depend on ViewModel
Here's a project using it.
- [Kotlin/JS] Design Kotlin + ReactJS Web app with Material Designing components
-
Kotlin Team AMA #3: Ask Us Anything
For DI take a look at Koin. It's a pragmatic lightweight dependency injection framework for Kotlin developers with multiplatform support. PeopleInSpace sample project uses it.
-
How to start with Ktor + React?
You might be interested in this project https://github.com/joreilly/PeopleInSpace
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?
kvision - Object oriented web framework for Kotlin/JS
kotlinx.serialization - Kotlin multiplatform / multi-format serialization
Decompose - Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing (navigation) and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.)
klaxon - A JSON parser for Kotlin
moko-resources - Resources access for mobile (android & ios) Kotlin Multiplatform development
avro4k - Avro support for kotlinx.serialization
Ktor-OpenAPI-Generator - Ktor OpenAPI/Swagger 3 Generator
Kotson
swift-evolution - This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
KTON - Object notation in pure Kotlin!
Decompose - Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing functionality and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.), inspired by Badoos RIBs fork of the Uber RIBs framework
mapstruct-examples - Examples for using MapStruct