距开课0天0时0分-10791472秒
巴扎黑2016-11-10 15:41:11 0 2 451
[PHP讨论组]举报回复话题 ↕
php 有快速把 object 或者 arr 转成 json 字符串的函数吗?
2
0
分享
女神的闺蜜爱上我 2016-11-10 15:41:562楼
json_encode
赞 +0添加回复
面对疾风吧 2016-11-10 15:41:351楼
(object) $arr;(array) $obj;json_encode($arr);json_decode($json);
女神的闺蜜爱上我 2016-11-10 15:41:562楼
json_encode
赞 +0添加回复
面对疾风吧 2016-11-10 15:41:351楼
(object) $arr;
(array) $obj;
json_encode($arr);
json_decode($json);
赞 +0添加回复