json数据中有特殊字符,该如何处理
有一json如:{"user_info_list":[{"subscribe":1,"nickname":"梁","city":"","province":"巴黎","country":"法国","groupid":0},{"subscribe":1,"nickname":"默笙","city":"O[\q","province":"^N","country":"","groupid":0}]} 用json_decode函数转化为null,原因是"city":"O[\q","province":"^N"受这些影响。该对诸如此类的字符有什么解决的办法没
minmin
10 years, 1 month ago