а если зайти на какой-нибудь
https://jsonutils.com/
то вообще можно замутить такое:
class MinMaxValues
{
public $minPrice; //int
public $maxPrice; //double
public $minRam; //int
public $maxRam; //int
public $minHDDSize; //int
public $maxHDDSize; //int
public $minHDDCount; //int
public $maxHDDCount; //int
public $minBenchmark; //int
public $maxBenchmark; //int
}
class Server
{
public $key; //int
public $name; //String
public $description; //array(String)
public $cpu; //String
public $cpu_benchmark; //int
public $cpu_count; //int
public $is_highio; //boolean
public $is_ecc; //boolean
public $traffic; //String
public $dist; //array(String)
public $bandwith; //int
public $ram; //int
public $price; //String
public $price_v; //String
public $ram_hr; //String
public $setup_price; //String
public $hdd_size; //int
public $hdd_count; //int
public $hdd_hr; //String
public $fixed_price; //boolean
public $next_reduce; //int
public $next_reduce_hr; //String
public $datacenter; //array(String)
public $specials; //array(String)
public $specialHdd; //String
public $freetext; //String
}
class MyClass
{
public $hash; //String
public $minMaxValues; //MinMaxValues
public $server; //array(Server)
}
чтобы не мучиться с неописанным Std.