Improve compression by removing whitespace from separators when using jsonify() and JSONIFY_PRETTYPRINT_REGULAR is False.

Commit includes Changelog entry and two new tests in test_basic.py.
This commit is contained in:
Gilman Callsen 2014-10-13 16:30:45 -04:00 committed by Markus Unterwaditzer
parent 050a659c2f
commit d425279650
3 changed files with 39 additions and 1 deletions

View file

@ -51,6 +51,9 @@ Version 1.0
loading.
- Ported testsuite to py.test.
- Deprecated ``request.json`` in favour of ``request.get_json()``.
- Add "pretty" and "compressed" separators definitions in jsonify() method.
Reduces JSON response size when JSONIFY_PRETTYPRINT_REGULAR=False by removing
unnecessary white space included by default after separators.
Version 0.10.2