json4s VS spray-json

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

json4s

JSON library (by json4s)

spray-json

A lightweight, clean and simple JSON implementation in Scala (by spray)
Our great sponsors
  • Mergify - Automate your Pull Request with Mergify
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
json4s spray-json
0 2
1,419 960
0.7% 0.3%
8.7 2.0
8 days ago about 1 month 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.

json4s

Posts with mentions or reviews of json4s. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning json4s yet.
Tracking mentions began in Dec 2020.

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.

What are some alternatives?

When comparing json4s and spray-json 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

Play JSON - The Play JSON library

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

argonaut - Purely functional JSON parser and library in scala.

jawn - Jawn is for parsing jay-sawn (JSON)