circe
Yet another JSON library for Scala (by circe)
jackson-module-scala
Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes (by FasterXML)
circe | jackson-module-scala | |
---|---|---|
12 | 5 | |
2,502 | 500 | |
0.1% | -0.4% | |
8.9 | 8.2 | |
13 days ago | 10 days 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.
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.
circe
Posts with mentions or reviews of circe.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-20.
-
Database abstraction library which allows a clean domain model
Using Circe so I define some classes that contain my custom Encoder[BusinessObject] in a file and I use that whenever I want to save/store a record, or handle a web request or respose. I also represent my mongo queries as JSON objects that I can freely build then pass to the driver.
- Scala Library To Generate Case Classes for JSON
-
What companies/startups are using Scala (open source projects on github)?
Circe adopters should be using Scala https://github.com/circe/circe
-
what popular companies uses Scala?
If you look at Circe's github repo you will see a very large list of very recognizable companies, that should give you some idea. Circe isn't the ONLY Json parsing library, but it is probably the most popular, so - should give you a rough idea of the types and variety of companies using Scala.
-
Every time I sit down to use an HTTP client and JSON parser, I get really frustrated
Has the worst error messages I've ever seen for a parser. "Attempt to decode value on failed cursor" is not helpful when all you have is missing fields. Has been an issue for 5 years.
-
It's unsafe to depend on Typelevel Libraries
Circe tries to drop Scala 2.12 support in retaliation for not enough users paying them.
-
Building a REST API in Scala 3 using Iron and Cats
Circe: https://circe.github.io/circe/
-
[Circe] Renaming fields for value classes during decoding
PR for the same functionality in Scala3: https://github.com/circe/circe/pull/1800
-
Scala 3.0 serialization
Otherwise I tend to just use ZIO-JSON or Circe both of which have been updated for Scala 3.
-
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
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 circe and jackson-module-scala you can also consider the following projects:
spray-json - A lightweight, clean and simple JSON implementation in Scala
json4s - JSON library
play-json
Play JSON - The Play JSON library
jsoniter-scala - Scala macros for compile-time generation of safe and ultra-fast JSON codecs + circe booster
diffson - A scala diff/patch library for Json
argonaut - Purely functional JSON parser and library in scala.
jawn - Jawn is for parsing jay-sawn (JSON)
circe vs spray-json
jackson-module-scala vs json4s
circe vs json4s
jackson-module-scala vs spray-json
circe vs play-json
jackson-module-scala vs Play JSON
circe vs jsoniter-scala
jackson-module-scala vs diffson
circe vs argonaut
jackson-module-scala vs argonaut
circe vs jawn
jackson-module-scala vs jsoniter-scala