print json to debug - python

时间:2016-04-15 20:30:32

标签: python json debugging

我有一个JSON数组的大型输入文件,而python解析器json.load会抛出错误

  

“ValueError:Expecting,delimiter:line 1 column 60039535(char   60039534)“

如何围绕错误打印json数据,即我想检查导致python失败的输入中的(无效)字符。 提前谢谢。

0 个答案:

没有答案