PeopleInSpace
kotlinx.serialization
Our great sponsors
PeopleInSpace | kotlinx.serialization | |
---|---|---|
9 | 52 | |
2,781 | 5,088 | |
- | 1.4% | |
8.5 | 8.5 | |
10 days ago | 7 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
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?
kvision - Object oriented web framework for Kotlin/JS
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.
moko-resources - Resources access for mobile (android & ios) Kotlin Multiplatform development
klaxon - A JSON parser for Kotlin
Ktor-OpenAPI-Generator - Ktor OpenAPI/Swagger 3 Generator
Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
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
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
swift-evolution - This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
kotlin-json - A JavaScript Object Notation library for Kotlin JVM.