Guzzle 6: no more json() method for responses

Previously in Guzzle 5.3: $response = $client->get(‘http://httpbin.org/get’); $array = $response->json(); // Yoohoo var_dump($array[0][‘origin’]); I could easily get a PHP array from a JSON response. Now In Guzzle 6, I don’t know how to do. There seems to be no json() method anymore. I (quickly) read the doc from the latest version and don’t found anything … Read more