我需要打印特定的JSon对象,我的JSon响应是:
{ "responseObject": { "AccountName": "BA2", "Cycle": "Cycle_17"}, "Status": null, "responseCode": 0, "responseMessage": "Operation Successful." }
到目前为止,我尝试过的是:
$results = json_decode($response);
echo $results->Cycle;
和
echo $results['Cycle'];
所有这些都不起作用,但是如果我使用echo $ results;将打印转储数据
感谢任何建议