-
4 votesanswersviews
喷洒Akka Json Unmarshalling
我有一个问题,通过使用spray - akka将对象解组到Json . 当我想使用返回Future [List [Person]]的actor时,它不起作用 . 如果我直接使用dao对象,它的工作原理 . 这是我的代码: PersonDao.scala import scala.concurrent.ExecutionContext.Implicits.global import scala.... -
0 votesanswersviews
akka spray - > akka http migration
这是我的路由器在基于喷雾的服务中的片段: path(baseUrl / version / "apps" / Segment / "users" / Segment) { (app, user) => respondWithMediaType(MediaTypes.`application/json`) { ctx => create...