我寫簡單的噴塗的客戶端代碼: // ActorSystem("main-actor-system") initialized earlier in code
implicit val system = actorSystem
implicit val execctx: scala.concurrent.ExecutionContext = system.dispatcher
implicit
我想實現一個通用的模式,由此產生使用淘金一個阿卡HTTP REST服務marshallers和unmarshallers,同時處理實體和集合級別的請求和響應的解碼陣列。我有一個實現實體水平,這樣沒有問題: case class Foo(foo: String)
object Foo {
implicit val FooJsonCodec = CodecJson.derive[Foo]