我正在使用为Google地图编码了多边形的MySQL数据库。当我尝试返回查询为json时,jsonlint抱怨..我不知道为什么它的抱怨,我尝试逃避在拉普隆的“}”,但仍然得到相同的错误。字符串中的JSON转义序列无效
Parse error on line 20: ... "latlon": "}ciuF|a|[email protected]@[email protected] -----------------------^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
我的JSON是:
{ "maps": [ { "group_id": "0", "user_id": "113", "group_name": "", "note": "", "field_id": "", "field_name": "West Pasture", "field_notes": "", "date_created": "12/31/2012", "acres": "" } ], "polygon": [ { "polygon_id": "", "field_id": "1", "acres": "92", "latlon": "}ciuF|a|[email protected]@[email protected]@UxCjMlApAfFuBpI}E\[email protected]" } ] }
该错误提示有问题早在JSON,而不是在该行... – Evert