def jsonify(*args, **kwargs):
"""
jsonify that uses hoplite's serial encoder
"""
return werkzeug.Response(
hoplite_dumps(dict(*args, **kwargs)), mimetype='application/json')
# This gets set by the app factory when the app is created
评论列表
文章目录