val appDependencies = Seq( "com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.1.3" ) import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.scala.DefaultScalaModule val mapper = new ObjectMapper() mapper.registerModule(DefaultScalaModule)