Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (11 sloc) 341 Bytes
**the code is no longer maintained !**
flask-jsonify
A Flask decorator to return json objects.
Install:
pip install -e 'git+http://github.com/fredj/flask-jsonify.git#egg=flask-jsonify'
Usage:
from flaskext.jsonify import jsonify
@app.route('/')
@jsonify
def index():
return {'foo': 'bar', 'baz': [1,2,3]}