def jsonify(obj):
    dump = json.dumps(obj)
    return Response(dump, mimetype='application/json')
Dump an object to JSON and create a Response object from the dump.
dataset/ETHPy150Open rehandalal/buchner/buchner/helpers.py/jsonify