При запросе на api
$client = new \GuzzleHttp\Client();
$res = $client->request('GET', 'http://255.255.255.255:9999/client/inn/6152000817');
Возвращает
[{"CODE_CLIENT":1696,"INN":"123123123","NAME":"ПАО \"321312\"","FR_AGREE_NUM":1,"FR_AGREE_DATE":"2015-01-19T21:00:00.000Z"},{"CODE_CLIENT":1698,"INN":"2312312321","NAME":"ПАО \"ГРАНИТ\"","FR_AGREE_NUM":10057,"FR_AGREE_DATE":"2015-01-19T21:00:00.000Z"},{"CODE_CLIENT":1707,"INN":"231231231231","NAME":"ПАО \"12312\"","FR_AGREE_NUM":10056,"FR_AGREE_DATE":"2015-01-19T21:00:00.000Z"},{"CODE_CLIENT":1710,"INN":"123123123123","NAME":"1321312"","FR_AGREE_NUM":16851,"FR_AGREE_DATE":"2015-01-19T21:00:00.000Z"}]
Как разобрать это по переменным