jackson-module-scala icon indicating copy to clipboard operation
jackson-module-scala copied to clipboard

Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes

Results 62 jackson-module-scala issues
Sort by recently updated
recently updated
newest added

I have this case class: ``` case class Time(val a: String, val b: String) ``` and this json: ``` { "a" : "12345" } ``` When I serialize this json...

Sealed hierarchy of case classes are widely used in Scala, however in Jackson-Scala they don't seem to be supported. We are looking for a workaround: when we try to add...

Hi, I get an exception when using `@JsonAnySetter`: ``` scala com.fasterxml.jackson.databind.JsonMappingException: Argument #0 of constructor [constructor for java.util.LinkedHashMap, annotations: [null]] has no property name annotation; must have name when multiple-parameter...

I'm having trouble getting a case class with a collection field to serialize the way I want. I have a data model that looks like this: ``` scala @JsonRootName("document") case...

One from JsonMappingException family, but most probably it is not duplicate of them, since no release fixes it. Environment: `Scala 10.4`, `JIdea 13.1.3` with `JVM 1.7` SDK for Scala, tested...

I get the following error when I want to parse a String into a Scala case class in Spark shell or in a Zeppelin notebook: ``` com.fasterxml.jackson.databind.JsonMappingException: No suitable constructor...

Not sure exactly what's going on here. A public field gets serialized fine, until I set the visibility using `PropertyAccessor.GETTER`. ``` ~/test ❯❯❯ cat src/main/scala/Test.scala import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.scala.DefaultScalaModule import...

(note: copied from https://github.com/FasterXML/jackson-module-jsonSchema/issues/71) Looks like Scala types may not (fully?) support visitability, to allow things like JSON Schema generation. Adding support is relatively easy, as it only requires implementation...

Visibility

As discussed in #77, Scala traits can contain fields and that are private to a package. These are implemented as public fields and methods in the JVM because there is...

Visibility

As I needed a fix for polymorphism on Option https://github.com/FasterXML/jackson-module-scala/issues/125 I updated to 2.3.2. I don't know if it works fine but it introduced a new kind of error in...

Default Parameters