Questions tagged [jackson-module-scala]

18 questions
0
votes
0 answers

jackson scala xml unable to deserialize

I have the following code @XmlRootElement @XmlSeeAlso(Array(classOf[EmailNotification],classOf[WebhookNotification])) abstract class Notification { } @XmlRootElement case class EmailNotification(@BeanProperty var recipients: JList[String], …
frodo
  • 1,561
  • 3
  • 21
  • 36
0
votes
1 answer

Parsing scala case classes with Jackson

My understanding was that jackson's DefaultScalaModule is supposed to be able to read scala case classes out-of-the-box. But it seems to choke as long as I give it more than one field: val mapper = new…
Dima
  • 39,570
  • 6
  • 44
  • 70
0
votes
1 answer

Is Spray Rejection Handling Crazy... or am I?

Here is my ever-growing validationRejectionHandler for my Spray project: implicit def validationRejectionHandler = RejectionHandler { case ValidationRejection(errMsg,_) :: _ => logger.info(s"received validation error: $errMsg") …
threejeez
  • 2,314
  • 6
  • 30
  • 51
1
2