{"currenciesForExchange":
{
"BTC":{"value":"BTC","name":"Bitcoin BTC","data-icon":"bitcoin","dataAlpha3":"BTC","data-reserve":"0,00 BTC","data-toexchange":"","data-fromexchange":""},
"ratesForExchange":{
"BTCQIWI":{"rate":329890.89095121,"updatedDate":"","minFrom":0.01,"minForView":1,"multiplierFrom":100000000,"multiplierTo":100}}
if (!$body || !is_string($body) || !is_object(json_decode($body))) {
return 'Это не json строка';
}
$decodedBody = json_decode($body, true);
$decodedBody['currenciesForExchange']['ratesForExchange']['BTCQIWI']; // профит
$response ['BTCQIWI'];
$curs_url = json_decode(file_get_contents(""), TRUE);
$decodedBody = json_decode($curs_url, true);