Local\Programs\Python\Python39\lib\json\decoder.py", line 337, in decode File "C:\Users\bilgi\AppData\Local\Programs\Python\Python39\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecode
import APIView if request.method我认为'rest_framework‘模块已经不再用于这个目的了。很难说。现在我得到的错误是:"raise JSONDecodeError(“期望值”,s,err.value) from None json.decoder.JSONDecodeE
网页上的第一行数据不是JSON格式的,所以我想在解析之前跳过第一行。但是我遇到了这样的错误: File "<stdin>", line 6, in <module> raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecod