jackson-module-scala
jackson-module-scala copied to clipboard
Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
Spotted in jsoniter-scala benchmark tests. Scala BitSets are sized based on the largest int stored in them (similar to Java implementation). This means that if you accept input files from...
Easily reproducible : ``` scala import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.core.util.{DefaultPrettyPrinter, MinimalPrettyPrinter} import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.scala.DefaultScalaModule import com.fasterxml.jackson.module.scala.experimental.ScalaObjectMapper object ObjMapper extends ObjectMapper with ScalaObjectMapper { setSerializationInclusion(JsonInclude.Include.NON_NULL) registerModule(DefaultScalaModule) val prettyWriter = writer(new DefaultPrettyPrinter)...
anywhere where com.fasterxml.jackson appears will become tools.jackson - other jackson libs will change too does not affect the v2.x releases - jackson v3 is not due for GA release for...
(NOTE: moved from `jackson-databind` on 11-Sep-2019 by @cowtowncoder ) Version: Jackson 2.8.11, probably also 2.9.7 We have an API server that receives requests then makes ElasticSearch requests using the elastic4s...
Hey, after I upgraded to a newer jackson version, I saw a lot of weird timeouts in our unit tests which should finish immediately. After inspection I found this ...
* the java number deserialization is more efficient than the old scala code in jackson-module-scala
I have added to this to a separate module (for now) - https://github.com/pjfanning/jackson-module-scala-duration One of the main reasons is that noone has really been worried about Durations and the new...
https://github.com/sbt/sbt/issues/3368 and maybe other factors seem to have lead to a lack of interest in supporting Jigsaw modules in Scala projects. I've seen reports of jackson-module-scala being used in some...
Currently supported in a separate module but eventually should be merged into this project. https://github.com/pjfanning/jackson-module-scala3-enum
These tests only pass when Scala 2 is used: * https://github.com/FasterXML/jackson-module-scala/blob/master/src/test/scala-2.%2B/com/fasterxml/jackson/module/scala/ser/AnyValScala2SerializerTest.scala * https://github.com/FasterXML/jackson-module-scala/blob/master/src/test/scala-2.%2B/com/fasterxml/jackson/module/scala/ser/JsonValueScala2Test.scala