property_exists比如:var json={"code":400,"msg":"User Err"}
var rest=property_exists(json, ‘access_token‘)
则rest的值为false
PHP判断一个JSON对象是否含有某一个属性的方法
原文:https://www.cnblogs.com/firstcsharp/p/10776951.html