spray-json VS json4s

Compare spray-json vs json4s and see what are their differences.

spray-json

A lightweight, clean and simple JSON implementation in Scala (by spray)

json4s

JSON library (by json4s)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
spray-json json4s
2 2
970 1,467
0.0% 0.0%
0.0 8.5
3 months ago about 17 hours ago
Scala Scala
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.

spray-json

Posts with mentions or reviews of spray-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
    9 projects | /r/scala | 29 Mar 2021
    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

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.

What are some alternatives?

When comparing spray-json and json4s you can also consider the following projects:

circe - Yet another JSON library for Scala

jackson-module-scala - Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes

Play JSON - The Play JSON library

jsoniter-scala - Scala macros for compile-time generation of safe and ultra-fast JSON codecs

play-json

argonaut - Purely functional JSON parser and library in scala.

diffson - A scala diff/patch library for Json

scala-json - Compile-time JSON marshaling and abstraction for Scala, Scala Native and Scala.js