php输出json的内容

$json = '{"foo": 12345}';
 
$obj = json_decode($json);
 
print $obj->{'foo'}; // 12345
原文地址:https://www.cnblogs.com/anxiaoyu/p/7423211.html