diffson
A scala diff/patch library for Json (by gnieh)
circe
Yet another JSON library for Scala (by circe)
Our great sponsors
diffson | circe | |
---|---|---|
2 | 10 | |
285 | 2,316 | |
0.0% | 0.6% | |
3.6 | 9.1 | |
9 days ago | 11 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.
diffson
Posts with mentions or reviews of diffson.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-04.
-
JSON deep comparison
But OPs two samples will not be equal with the default LCS algo as the array positions matter. If you only need to check equality, the simple diff should work for you.
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 2022-05-24.
-
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
-
Why is xml the only first class markup?
Here it is. It's called circe-litetal.
-
Ruby 3 Released
I doubt it will be called ergonomic. Scala also has Json objects (e.g. circe), but then you will need to define your whole hierarchy of classes based on some abstract BaseObject(since you can't change existing Object) and cram all methods into it (e.g. https://github.com/circe/circe/blob/c7e6ef1f21d28635b03df36c93decf010221684b/modules/core/shared/src/main/scala/io/circe/Json.scala#L75), some overridden methods in subclasses will raise an exception (or return None: https://github.com/circe/circe/blob/c7e6ef1f21d28635b03df36c93decf010221684b/modules/core/shared/src/main/scala/io/circe/Json.scala#L290). Yeah, possible, but that's exactly what Ruby is trying to avoid.
What are some alternatives?
When comparing diffson and circe you can also consider the following projects:
spray-json - A lightweight, clean and simple JSON implementation in Scala
json4s - JSON library
play-json
zio-json - Fast, secure JSON library with tight ZIO integration.
argonaut - Purely functional JSON parser and library in scala.
jackson-module-scala - Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
jsoniter-scala - Scala macros for compile-time generation of safe and ultra-fast JSON codecs
Play JSON - The Play JSON library
jawn - Jawn is for parsing jay-sawn (JSON)
scala-json - Compile-time JSON marshaling and abstraction for Scala, Scala Native and Scala.js
None Is Not Null - JSON typeclasses that know the difference between null and absent fields