How do I output the value?

how do I output the value joxi.ru/eAO7G6NUxo7q0A?
{"p":{"o":{"uh":1}},"c":[{"p":""},{"p":""},{"p":""}],"h":[{"c":"Trip"},{"c":"Skorosti"},{"c":"Stoimost"}],"b":[[{"c":"Link 1"},{"c":"1 Mbit/s"},{"c":"390 RUB/month"}],[{"c":"Link 4"},{"c":"4 Mbps"},{"c":"590 RUB/month"}],[{"c":"Link 8"},{"c":"8 Mbps"},{"c":"690 rubles/month"}],[{"c":"Link 20"},{"c":"20 Mbps"},{"c":"790 rubles/month"}],[{"c":"Link MAX"},{"c":"up To 120 Mbit/s"},{"c":"1000 rubles/month"}]]}
June 14th 19 at 20:42
1 answer
June 14th 19 at 20:44
Solution
how do I output the value joxi.ru/eAO7G6NUxo7q0A?
For example:

<?php

$json = '{"p":{"o":{"uh":1}},"c":[{"p":""},{"p":""},{"p":""}],"h":[{"c":"Trip"},{"c":"Skorosti"},{"c":"Stoimost"}],"b":[[{"c":"Link 1"},{"c":"1 Mbit/s"},{"c":"390 RUB/month"}],[{"c":"Link 4"},{"c":"4 Mbps"},{"c":"590 RUB/month"}],[{"c":"Link 8"},{"c":"8 Mbps"},{"c":"690 rubles/month"}],[{"c":"Link 20"},{"c":"20 Mbps"},{"c":"790 rubles/month"}],[{"c":"Link MAX"},{"c":"up To 120 Mbit/s"},{"c":"1000 rubles/month"}]]}';
$data = json_decode($json);
var_dump($data--->h[0]->c);
Thank you! - Misael48 commented on June 14th 19 at 20:47
not for that, please! :) - Salvado commented on June 14th 19 at 20:50

Find more questions by tags WordPress