json_encode 对变量进行json编码 json_decode 对json格式的字符串进行解码,转换为php变量 json_last_error 返回最后发生的错误 转载于:https://www.cnblogs.com/zhidongjian/p/10414103.html