Hello, everyone
here is my code, that throws error mentioned in the subject. It seesm that
some implicit values are missing, but i can't figure it out :(
import akka.actor.ActorSystem
import akka.http.scaladsl.Http
import akka.http.scaladsl.server.Directives._
import
Hi there,
what you've provided using DefaultJsonProtocol._ is Format objects (from spray
json) to and from Boolean/Integer etc.
Then you've provided a Format for your case class – so far so good.
The problem here is that Akka Http does not know anything about Spray Json, as
we want to allow
Thanks. At last it compiles.
You saved my day :)
On Thursday, October 22, 2015 at 8:31:18 PM UTC+3, Konrad Malawski wrote:
>
> Hi there,
> what you've provided using DefaultJsonProtocol._ is Format objects (from
> spray json) to and from Boolean/Integer etc.
> Then you've provided a Format for