multik
Multidimensional array library for Kotlin (by Kotlin)
jackson-module-kotlin
Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes. (by FasterXML)
Our great sponsors
multik | jackson-module-kotlin | |
---|---|---|
9 | 9 | |
613 | 1,095 | |
2.9% | 1.4% | |
8.3 | 9.4 | |
about 2 months ago | 5 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
multik
Posts with mentions or reviews of multik.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-27.
-
multidimensional arrays
If you need a simpler array syntax, have a look at the official multi dimensional array library for Kotlin: https://github.com/Kotlin/multik
One other notable resource when it comes to multidimensional arrays in Kotlin is the multidimensional library from the creators of Kotlin called Multik which has a good blog post showcasing how the library can be used to improve the developer experience when working with multidimensional arrays.
-
NumPy equivalent for Java?
for JVM https://github.com/Kotlin/multik
- Numpy for kotlin
-
Kotlin Team AMA #3: Ask Us Anything
Multik (NumPy analogue) - Multidimensional array library for Kotlin.
-
Natural language processing with Kotlin: Part-of-speech tagging with Hidden Markov Model
To work with matrices, I'm using multik, a multidimensional array library for Kotlin. It has been publicly released recently, and you can read more about it on the Kotlin blog.
-
Matrices multiplication benchmark: Apache math vs colt vs ejml vs la4j vs nd4j
Can the benchmark add the recent https://github.com/Kotlin/multik And https://github.com/Kotlin/kotlin-numpy
jackson-module-kotlin
Posts with mentions or reviews of jackson-module-kotlin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-19.
-
Jackson, moshi or kotlinx.serialization?
Jackson's learning curve is a lot lower (it helps that it's older and more popular, so there's more guides online), and it has a lot more options. However, Jackson doesn't fully support Kotlin, for example: value classes. For this reason, I would avoid it.
strictNullCheck option in the Kotlin module doesn't cover non-object-field situations at all. https://github.com/FasterXML/jackson-module-kotlin/issues/479
-
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
What are some alternatives?
When comparing multik and jackson-module-kotlin you can also consider the following projects:
kotlinx.serialization - Kotlin multiplatform / multi-format serialization
klaxon - A JSON parser for Kotlin
avro4k - Avro support for kotlinx.serialization
Kotson
nd4j - Fast, Scientific and Numerical Computing for the JVM (NDArrays)
KTON - Object notation in pure Kotlin!
mapstruct-examples - Examples for using MapStruct
fluid-json - A JSON library written in pure Kotlin
kotlin-jupyter - Kotlin kernel for Jupyter/IPython
kotlin-json - A JavaScript Object Notation library for Kotlin JVM.
Micronaut - Micronaut Application Framework
kson - Gson TypeAdapter & Factory generator for Kotlin data classes