flask-jsonify-emidln

A small Flask decorator for returning json. This is a fork pushed to PyPI for easy install.


License
BSD-3-Clause
Install
pip install flask-jsonify-emidln==0.1

Documentation

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]}