TypeError the JSON object must be str, bytes or bytearray, not ‘list‘

在使用python的jason库时,偶然碰到以下问题TypeError: the JSON object must be str, bytes or bytearray, not ‘list’通过如下代码可复现问题>>> a [0, 1, 2, 3, 4, 5, 6, 7, 8, ...

the JSON object must be str, bytes or bytearray, n

the JSON object must be str, bytes or bytearray, not 'dict'" 提示我这一句报错 evt = json.loads(event) 代码里加application/json了

JSON 自学手册图文教程

9 课时 |
1398 人已学 |
免费
开发者课程背景图

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

社区圈子

开发与运维
开发与运维
集结各类场景实战经验,助你开发运维畅行无忧
6420+人已加入
加入