注意点: (1)使用UTF-8编码 (2)不能在最后元素有逗号 (3)不能使用单引号 (4)不能有\r,\t,如果有请替换 语句:$jsonArr= json_decode($jsonStr,true);