jsoniter-scala
Scala macros for compile-time generation of safe and ultra-fast JSON codecs (by plokhotnyuk)
json4s
JSON library (by json4s)
Our great sponsors
- Onboard AI - Learn any GitHub repo in 59 seconds
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- SaaSHub - Software Alternatives and Reviews
jsoniter-scala | json4s | |
---|---|---|
28 | 2 | |
689 | 1,464 | |
- | 0.0% | |
0.0 | 8.2 | |
5 days ago | 17 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 2023-05-01.
-
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.
-
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.
-
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.
-
Learning macros in scala 2.13
I suggest looking into jsoniter-scala Macro API it has unique support of both Scala 2 and Scala 3 in a source compatible manner.
-
Using SWAR techniques to speed up parsing and serialization from/to JSON
Since v2.13.6 release jsoniter-scala dropped support of Java 8: https://github.com/plokhotnyuk/jsoniter-scala/releases/tag/v2.13.6
SWAR (SIMD in register) techniques were used in the last release of jsoniter-scala to speed up parsing and serialization on JVM platforms.
-
Scala 3 compatible macro libraries
Try jsoniter-scala. It is a library with macros for handy deriving of safe and efficient JSON codecs that has Scala 3 support since v2.12.1
json4s
Posts with mentions or reviews of json4s.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-27.
-
Please try my JSON library
In Scala we have Jackson, Json4s, Circe. Your api is incredibly similar to Json4s's one.
- I want to move to Scala 3, but I'm not sure what libraries to use
What are some alternatives?
When comparing jsoniter-scala and json4s you can also consider the following projects:
circe - Yet another JSON library for Scala
spray-json - A lightweight, clean and simple JSON implementation in Scala
jackson-module-scala - Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
play-json
DSL-JSON - High performance JVM JSON library
argonaut - Purely functional JSON parser and library in scala.
Play JSON - The Play JSON library
None Is Not Null - JSON typeclasses that know the difference between null and absent fields
diffson - A scala diff/patch library for Json