如何在php中读取下面的json数据?
我有“ $json = json_decode($data,true);我试过” $json->{'screenShareCode'}; “但是给我一个错误吗?:(
数组(5){
["screenShareCode"]=>
字符串(9)“887874819”
["appletHtml"]=>
字符串(668)“”
[“演示者参数”]=>
字符串(396)“aUsEdyygd6Yi5SqaJss0=”
["viewerUrl"]=>
字符串(65)“http://api.screenleap.com/v2/viewer/814222219?accountid=myid”
[“起源”]=>
字符串(3)“API”
}