我有像图像一样的输出数组 Image
如何获取数据'datamap'。请帮帮我
答案 0 :(得分:0)
对于JavaScript:
var json = ""; // your JSON string as a variable.
console.log(json.datamap);
对于PHP:
$json = ""; // Same again
$jsonAsObject = json_decode($json);
echo $jsonAsObject->datamap;