我知道flask.jsonify返回一个flask响应对象。但是我不知道如何将这个对象转换成字典。我该怎么做?
@app.route('/', methods=['GET'])
def hello(): #Accept and jsonify GET request from Nexmo
if request.method == 'GET':
info = jsonify(request.args.lists())
#Turn info into dictionary here
process(info)
return info
else:
return 'Hello World!'