jackson-module-kotlin
kotlindl
Our great sponsors
jackson-module-kotlin | kotlindl | |
---|---|---|
9 | 16 | |
1,097 | 1,399 | |
0.7% | 1.5% | |
9.4 | 5.7 | |
5 days ago | 7 months 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.
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?
kotlindl
- is it posssible to add an a python AI tensorflow script inside kotlin for android?
-
Kotlin Deep Learning Android app - Working
This is a really nice sample app (works out of the box) that Jetbrains have made to showcase the capabilities of this Kotlin Deep Learning library https://github.com/Kotlin/kotlindl
- Implementing a object detection into a kotlin mobile application
-
What libraries do you use for machine learning and data visualizing in scala?
There are Java bindings for TensorFlow, but that's quite low level. I tried to see if I can get some Keras API for Scala, but I'm no expert and haven't had enough time to invest in this, so it's stuck in alpha. Maybe I develop it slow burning over the next year. A bit envious that Kotlin has a Keras-like library.
-
KotlinDL 0.3 Is Out With ONNX Integration, Object Detection API, 20+ New Models in ModelHub, and Many New Layers
KotlinDL 0.3 is available now on Maven Central with a variety of new features — check out all the changes that are coming to the new release!
Could you please add an issue with your use-case and proposed solution? Or write here more details. Do you need just serialization to objects in memory? or just in bytes?
-
Machine Learning in Kotlin (Question)
While KotlinDL seems to be a good solution by Jetbrains, I would personally stick to Java frameworks like DL4J for a better community support and likely more features.
-
Numpy for kotlin
For deep learning this is your best bet: https://github.com/jetbrains/kotlindl
-
Kotlin Team AMA #3: Ask Us Anything
So, the KotlinDL library could solve classification and regression tasks on tabular data and image data.
-
Show HN: Shape-Safe Symbolic Differentiation with Algebraic Data Types
Thank you for your feedback! Kotlin∇ is a research prototype for building differentiable programs from basic primitives. If you’re looking for a higher-level API, KotlinDL [1] or KInference [2] might be a better fit for building end-user applications such as image, speech or language processing.
What are some alternatives?
kotlinx.serialization - Kotlin multiplatform / multi-format serialization
KorGE - KorGE Game Engine. Multiplatform Kotlin Game Engine
klaxon - A JSON parser for Kotlin
htmx - </> htmx - high power tools for HTML
avro4k - Avro support for kotlinx.serialization
Decompose - Kotlin Multiplatform lifecycle-aware business logic components (aka BLoCs) with routing (navigation) and pluggable UI (Jetpack Compose, SwiftUI, JS React, etc.)
Kotson
tensorflow-keras-scala - Scala-based Keras API for the Java bindings to TensorFlow. Mirror of https://codeberg.org/sciss/tensorflow-keras-scala
KTON - Object notation in pure Kotlin!
kotlin-wrappers - Kotlin wrappers for popular JavaScript libraries
mapstruct-examples - Examples for using MapStruct
kotlinx-datetime - KotlinX multiplatform date/time library