jsoniter-scala
Scala macros for compile-time generation of safe and ultra-fast JSON codecs (by plokhotnyuk)
jackson-module-scala
Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes (by FasterXML)
Our great sponsors
jsoniter-scala | jackson-module-scala | |
---|---|---|
29 | 5 | |
704 | 495 | |
- | 0.2% | |
9.6 | 8.5 | |
1 day ago | 29 days ago | |
Scala | Scala | |
MIT License | 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.
jsoniter-scala
Posts with mentions or reviews of jsoniter-scala.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-09.
-
1BRC Merykitty's Magic SWAR: 8 Lines of Code Explained in 3k Words
What an amazing step by step explanation!
More than 2 years ago I found that byte array view var handles are quite suitable to cook efficient SWAR routines with Java/Scala.
See a lot of other examples of SWAR usage, like parsing Base16/64 string, java.time.* and number values directly from byte arrays:
https://github.com/plokhotnyuk/jsoniter-scala/blob/master/js...
-
The Newest Java Json Benchmark Results just dropped
Afaik dsl-json came up with a lot of improvements and inspired a several other libraries like JsonIter and jsonIter-scala. Jsoniter-scala by u/plokhotnyuk is probably the most optimized JSON library on the JVM at this point, and seems to power most of the Scala ecosystem. Some implementations/optimizations eventually made their way back into Jackson and other libraries.
-
Please try my JSON library
I was on your place more then 5 years ago, when cut the 1st release of jsoniter-scala.
-
Post your problems with Scala 3/2.13 compiler performance!
I've just increased compiler performance in ~1.5x times by adding these JVM options for the code cache
-
smithy-translate : a CLI tool to turn openapi specs and json-schema specs into smithy specs, written in Scala
We have our own open-source code-generator that produces Scala code from Smithy. The code module is entirely dependency-free, and the generated code is not biased towards any library, be that http or json. We do however have out-of-the-box integration with jsoniter and http4s.
-
Why does Scala seem to be slow at benchmark results?
You can use jsoniter-scala. It is easy to use like upickle.
-
Scala needs *highly* efficient libraries to survive in a multi-core age
BTW, jsoniter-scala uses it for faster parsing and serialization using SWAR techniques, like here.
-
Using Circe with GADT
Probably you should have both codecs (for Foo and for its T) are implicitly available in the scope, like it is done in the following test for jsoniter-scala:
-
Starting with scala
BEWARE: uJson is vulnerable under DoS attacks
-
Is Scala a good choice for a data intensive web backend?
Please see sources (and GitHub history of development) of jsoniter-scala as an example in the domain of JSON parsing and serialization.
jackson-module-scala
Posts with mentions or reviews of jackson-module-scala.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-20.
-
Scala Custom JSON codec Help
The other comment is asking the right questions. But also how is it failing? Do you have an error message? Is JsonUtil part of Jackson? Do you need to be using https://github.com/fasterxml/jackson-module-scala with an object mapper?
-
Issues in parsing JSON in Scala using Jackson library
As a workaround you can turn on ignoring of unknown properties on the level of object mapper instance like here, but beware in case your system accepts an untrusted input because it turns on DoS vulnerability.
-
Every time I sit down to use an HTTP client and JSON parser, I get really frustrated
The simplest JSON parsing library is Jackson.
-
How to transition to Scala 3?
https://github.com/FasterXML/jackson-module-scala specifically
-
Performance of 12 JSON parsers for Scala
I've updated results of benchmarks of 12 JSON parsers for Scala: - AVSystem's scala-commons - Borer - Circe - DSL-JSON - Jackson - jsoniter-scala - Play-JSON, - play-json-jsoniter - Spray-JSON - uPickle - weePickle - zio-json
What are some alternatives?
When comparing jsoniter-scala and jackson-module-scala you can also consider the following projects:
circe - Yet another JSON library for Scala
json4s - JSON library
spray-json - A lightweight, clean and simple JSON implementation in Scala
DSL-JSON - High performance JVM JSON library
Play JSON - The Play JSON library
None Is Not Null - JSON typeclasses that know the difference between null and absent fields
argonaut - Purely functional JSON parser and library in scala.
jsoniter-scala vs circe
jackson-module-scala vs circe
jsoniter-scala vs json4s
jackson-module-scala vs spray-json
jsoniter-scala vs DSL-JSON
jackson-module-scala vs json4s
jsoniter-scala vs Play JSON
jackson-module-scala vs DSL-JSON
jsoniter-scala vs spray-json
jackson-module-scala vs Play JSON
jsoniter-scala vs None Is Not Null
jackson-module-scala vs argonaut