Play JSON
The Play JSON library (by playframework)
jsoniter-scala
Scala macros for compile-time generation of safe and ultra-fast JSON codecs (by plokhotnyuk)
Our great sponsors
Play JSON | jsoniter-scala | |
---|---|---|
1 | 19 | |
313 | 503 | |
1.9% | - | |
8.9 | 9.8 | |
11 days ago | 7 days ago | |
Scala | Scala | |
Apache License 2.0 | MIT License |
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.
Play JSON
Posts with mentions or reviews of Play JSON.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-29.
-
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
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 2022-06-04.
-
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
-
Every time I sit down to use an HTTP client and JSON parser, I get really frustrated
Use jsoniter-scala for handy auto-derive safe and efficient JSON codecs.
-
Scala3 adoption doubts
Here is a great example of macros migration from Scala 2 to Scala 3 that are source compatible and tested by the same test sources.
Impressive work, although I'll stand by Scala 2 macros being a blocker -- I mean, look at this monster, nearly 3K lines of dense Scala 3 macro code to replicate functionality you already had in Scala 2. For most mortals that would be a gigantic endeavor, although a great learning experience I'm sure :)
-
New Scala 3 Codebases
BTW, here is a great example of macros migration from Scala 2 to Scala 3.
- Core and Macros APIs of jsoniter-scala got Scala Native support
-
Updated benchmark results of JSON parsers for Scala - now with results for circe and play-json boosters based on jsoniter-scala.
Sources of benchmarks are here.
What are some alternatives?
When comparing Play JSON and jsoniter-scala you can also consider the following projects:
circe - Yet another JSON library for Scala
DSL-JSON - High performance JVM JSON library
spray-json - A lightweight, clean and simple JSON implementation in Scala
json4s - JSON library
jackson-module-scala - Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
diffson - A scala diff/patch library for Json
play-json
scala-json - Compile-time JSON marshaling and abstraction for Scala, Scala Native and Scala.js