src/Response.php
public function json()
    {
        $this->response->data = json_decode($this->response->body);

        return $this->response;
    }
public function json()
    {
        $this->response->data = json_decode($this->response->body);

        return $this->response;
    }
public function json ( ) { $ this -> response -> data = json_decode ( $ this -> response -> body ) ; return $ this -> response ; }
Convert to JSON string

@return object Response content
Convert to JSON string