欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

php字符串转换成json格式

程序员文章站 2024-02-18 17:50:46
...
phpjson

这是字符串 {"id":"shunfeng","name":"顺丰快递","order":"023499317996","message":"","errcode":"0000","status":4,"data":[{"time":"2015-07-30 19:26:29","content":"顺丰速运 已收取快件"},{"time":"2015-07-30 21:08:57","content":"快件正转运至下一站"},{"time":"2015-07-30 21:46:10","content":"快件到达 【北京紫竹院集散中心】"},{"time":"2015-07-30 21:53:26","content":"快件正转运至下一站"},{"time":"2015-07-31 00:02:41","content":"快件到达 【北京首都机场集散中心2】"},{"time":"2015-07-31 00:06:18","content":"快件正转运至 【石家庄高开集散中心】"},{"time":"2015-07-31 07:50:01","content":"快件到达 【石家庄高开集散中心】"},{"time":"2015-07-31 09:21:55","content":"快件正转运至 【石家庄红旗服务点】"},{"time":"2015-07-31 11:06:08","content":"快件到达 【石家庄红旗服务点】"},{"time":"2015-07-31 11:13:46","content":"正在派送途中,请您准备签收(派件人:宋超,电话:13831156512)"},{"time":"2015-07-31 11:39:24","content":"已签收,感谢使用顺丰,期待再次为您服务"},{"time":"2015-07-31 11:39:24","content":"在官网"运单资料&签收图",可查看签收人信息"}]}

相关标签: php json