0

I am using till now spray - 1.1-M7 but now I changed to 1.3.3. There is HttpBody in 1.1-M7 but that was not exist in 1.3.3 version. So what is the alternative I have to do in my code.

My code looks like this: What do I have to do to get:

implicit def json4sUnmarshaller[T: Manifest] = {
    Unmarshaller[T](`application/json`) {
      case x: HttpBody ⇒
        read[T](cleanupString(x.asString))
    }
  }
halfer
  • 19,824
  • 17
  • 99
  • 186
Sun
  • 3,444
  • 7
  • 53
  • 83

1 Answers1

1

The type you are looking for is HttpEntity

Frederic A.
  • 3,504
  • 10
  • 17