摘要: $json="[{ 'i':100000, 'u':-1,n: '中国'},{i:100001,u:-1,n:'阿尔巴尼亚'},{i:100002,u:-1,n:'阿尔及利亚',}]";$json = preg_replace('/([{,:])(\s*)\'(.*?)\'/','$1"$3"... 阅读全文
posted @ 2015-04-17 15:48 我来也1010 阅读(770) 评论(0) 推荐(0) 编辑