为了账号安全,请及时绑定邮箱和手机立即绑定

python json 报错

python json 报错

冉冉说 2018-12-16 09:09:41
ss='"data":[{"amount":"400","financeAmount":"400万","financeAmountUnit":"CNY","financeDate":1514649600000,"newsUrl":"http://www.lieyunwang.com/archives/447914","participantVos":[{"entityId":117,"entityName":"联想之星","entityType":2,"investmentId":181676}],"phase":"ANGEL"}]' sss=json.loads(ss) Traceback (most recent call last):   File "<input>", line 1, in <module>   File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/__init__.py", line 354, in loads     return _default_decoder.decode(s)   File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/decoder.py", line 342, in decode     raise JSONDecodeError("Extra data", s, end)json.decoder.JSONDecodeError: Extra data: line 1 column 7 (char 6
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 1108 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信