1: transcoding. We recommend converting it to UTF-8 and then decode it.
$ Fields = '[{"money": "200", "getexo": "150", "statusNum": "12", "visitTime": "1278500954 ", "id": "1", "name": "Fossil 1", "changestatus2": "7200", "stoneid": "1", "changestatus3 ": "18000", "changestatus1": "600", "changestatus4": "72000", "getmoney": "500" },{ "money": "250 ", "getexo": "180", "statusNum": "12", "visitTime": "1278511854", "id": "2", "name ": "Fossil 1", "changestatus2": "7200", "stoneid": "1", "changestatus3": "18000", "changestatus1": "600 ", "changestatus4": "72000", "getmoney": "600"}] ';
$ Fields = iconv ('gb2312', 'utf-8', $ fields
);
$ Fields1 = json_decode ($ fields );
2. Only double quotation marks (") can be used (")
In JSON, only "is used to represent the string number.
3. No extra comma (,) is allowed (,)
4. Escape is not supported.
There are many character representation methods, but none of the following
\ X26