Flask-json

Latest version: v0.4.0

Safety actively analyzes 631178 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.3.0

-----

* JSONP support.
* Allow to control HTTP status filed in ``json_response()``.

0.2.0

-----

* Support ``None`` and response instances in ``as_json``.
* Fix ``as_json`` documentation.

0.1

---

This release is not fully backwards compatible with the 0.0.1 version.

* New ``as_json`` decorator.
* New ``JsonTestResponse`` class.
* Allow to change HTTP status field name.
* Allow to set custom JSON response headers.
* Better JSON error class API.
* Better encoding: more types out of the box, better time values format handling,
fixed encoding order.
* Better project documentation.
* Better tests.

Incompatible changes:

* ``JsonErrorResponse`` renamed to ``JsonError``.
* Changed ``json_response()`` signature.

0.0.1

-----

First public alpha.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.