php操作json

json 

[]表示数组  

{}表示对象 键:值对


json_encode(数组);//转换为json字符串
json_decode(json字符串); //转换为对象   ->访问元素

首页 我的博客
粤ICP备17103704号