json.decoder.JSONDecodeError: Expecting ‘,‘ delimiter: line 3 column 1 (char 14)

蔚落 2022-10-18 01:28 236阅读 0赞

json.decoder.JSONDecodeError: Expecting ‘,’ delimiter: line 3 column 1 (char 14)

报错信息

  1. json.decoder.JSONDecodeError: Expecting ',' delimiter: line 3 column 1 (char 14)

报错原因

  1. 前端传来json字符串拼接错误
  2. {
  3. "uid":"1"
  4. "data":[["数据1", 86, 81], ["曼联", 74, 66], ["利物浦", 69, 99]]
  5. }

解决办法

  1. {
  2. "uid":"1",
  3. "data":[["数据1", 86, 81], ["曼联", 74, 66], ["利物浦", 69, 99]]
  4. }

加个逗号

欢迎大家交流学习,任何问题都可以留言

发表评论

表情:
评论列表 (有 0 条评论,236人围观)

还没有评论,来说两句吧...

相关阅读