$json = '{
"VM_set_PV_args":"",
"VM_set_PV_bootloader":"eliod",
"VM_set_other_config":{
"install-repository":"http:\/\/mirror.yandex.ru\/debian\/",
"install-distro":"debianlike",
"debian-release":"trusty",
"install-arch":"i386"
}
}';
$arr = json_decode($json, true);
echo $arr['VM_set_PV_bootloader'];
foreach ($arr['VM_set_other_config'] as $key => $val) {
echo $val;
}
<script src="/my/script.js?v=1"></script>
<h1>Hello World!</h1>
преобразуется в React.createElement("h1", null, "Hello World!")