3
我的JSON字符串,语法错误:意外的号码(JSON.parse)
JSON.parse('{"start_date_time": ["2012-12-05 04:45:42.135000", "None"], "terminal_no": ["T1081", "None"], "master_doc_no": ["100008", "100008"], "notes": ["", ""], "doc_no": ["1000018", "1000019"], "location_code": ["1005", "1005"], "end_date_time": ["2012-12-05 05:27:04.529000", "None"], "doc_status": ["CC Ended", "Draft"], "bc_list": ["[{\"465\":\"85\"},{\"306\":\"6\"},{\"306\":\"47\"},{\"306\":\"366\"},{\"306\":\"634\"}]", "[{\"257\":\"14\"}]"]}')
但它扔语法错误:意外的数
我在哪里错在这里?
使用JSONLint验证正确性:http://jsonlint.com/是否还有关于错误的更多信息? –
@HunterMcMillen,错误肯定会发生。把它扔到你的浏览器控制台中。它与'bc_list'数据有关。 – Brad