解决json.decoder.JSONDecodeError: Invalid control character at: line 1 column 4007 (char 4006)问题

原始代码

json_load = json.loads(data)

错误如图

修改原始代码

json_load = json.loads(data, strict=False)

成功运行!!!!!!

posted @ 2018-12-25 16:25  莫问丶过往  阅读(5736)  评论(0编辑  收藏  举报