jackson-module-scala
splain
Our great sponsors
jackson-module-scala | splain | |
---|---|---|
5 | 2 | |
495 | 369 | |
0.2% | - | |
8.3 | 6.3 | |
7 days ago | 2 months ago | |
Scala | Scala | |
Apache License 2.0 | MIT License |
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.
jackson-module-scala
-
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
splain
-
Every time I sit down to use an HTTP client and JSON parser, I get really frustrated
Requires deep knowledge of implicits and how to debug them. Which if you have nested data structures is basically impossible without something like Splain.
-
Getting Comfortable with Implicits
In Scala 2.13 and above, there is a compiler switch that will print out the exact implicit you are missing at compile time and why (https://docs.scala-lang.org/overviews/compiler-options/errors.html). Prior to that in scala 2, you need the tek/splain compiler plugin (https://github.com/tek/splain).
What are some alternatives?
circe - Yet another JSON library for Scala
sbt-dependency-check - SBT Plugin for OWASP DependencyCheck. Monitor your dependencies and report if there are any publicly known vulnerabilities (e.g. CVEs). :rainbow:
spray-json - A lightweight, clean and simple JSON implementation in Scala
better-monadic-for - Desugaring scala `for` without implicit `withFilter`s
json4s - JSON library
sbt-revolver - An SBT plugin for dangerously fast development turnaround in Scala
DSL-JSON - High performance JVM JSON library
xsbt-web-plugin - Servlet support for sbt
Play JSON - The Play JSON library
sbt-sonatype - A sbt plugin for publishing Scala/Java projects to the Maven central.
argonaut - Purely functional JSON parser and library in scala.
sbt-updates - sbt plugin that can check Maven and Ivy repositories for dependency updates