This works OK for me:
<?php
$json = <<<EOD
[
{
"mac" : "00:11:22:33:44:55",
"mode" : "Master",
"frequency" : "2.45",
"channel" : "11",
"quality" : "18/94",
"signal_level" : "-50",
"noise_level" : "-96",
"encryption" : "none",
"essid" : "SomeNet",
"pairwise_ciphers" : "",
"group_cipher" : "",
"auth_suites" : "",
"htcap" : 0,
"mtik_name" : "somwhere"
}
]
EOD;
$arr = json_decode($json, true);
printf("<pre>%s</pre>", print_r($arr, 1));
Output:
Array
(
[0] => Array
(
[mac] => 00:11:22:33:44:55
[mode] => Master
[frequency] => 2.45
[channel] => 11
[quality] => 18/94
[signal_level] => -50
[noise_level] => -96
[encryption] => none
[essid] => SomeNet
[pairwise_ciphers] =>
[group_cipher] =>
[auth_suites] =>
[htcap] => 0
[mtik_name] => somwhere
)
)