JsonBodyReadables

play.api.libs.ws.JsonBodyReadables
See theJsonBodyReadables companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Implicits

Inherited implicits

implicit val readableAsJson: BodyReadable[JsValue]

Converts a response body into Play JSON format:

Converts a response body into Play JSON format:

import play.api.libs.ws.StandaloneWSResponse
import play.api.libs.ws.JsonBodyReadables._

def json(r: StandaloneWSResponse) = r.body[play.api.libs.json.JsValue]

Attributes

Inherited from:
JsonBodyReadables