1、问题表现
"message": "Failed to decode JSON object: None"
2、出现的原因
Werkzeug 版本过高
3、解决方案
pip install Werkzeug==2.0
解决效果
可以正常显示json数据了
{
"message": {
"rate": "参数错误"
}
}
python flask_restful “message“: “Failed to decode JSON object: None“
阅读 32
2023-11-11
"message": "Failed to decode JSON object: None"
Werkzeug 版本过高
pip install Werkzeug==2.0
可以正常显示json数据了
{
"message": {
"rate": "参数错误"
}
}
相关推荐
精彩评论(0)