Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pallets-eco/flask-ujson
A Flask/Quart JSON provider using the fast ujson library.
https://github.com/pallets-eco/flask-ujson
flask json pallets pallets-eco python quart ujson
Last synced: 2 months ago
JSON representation
A Flask/Quart JSON provider using the fast ujson library.
- Host: GitHub
- URL: https://github.com/pallets-eco/flask-ujson
- Owner: pallets-eco
- License: mit
- Created: 2023-11-30T09:36:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-01T07:39:25.000Z (8 months ago)
- Last Synced: 2024-07-06T04:26:07.863Z (7 months ago)
- Topics: flask, json, pallets, pallets-eco, python, quart, ujson
- Language: Python
- Homepage: https://flask-ujson.readthedocs.io
- Size: 44.9 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# flask-ujson
A [Flask][]/[Quart][] JSON provider using the fast [ujson][] library. Using
this provider will significantly speed up reading JSON data in requests and
generating JSON responses.[flask]: https://flask.palletsprojects.com
[quart]: https://quart.palletsprojects.com
[ujson]: https://github.com/ultrajson/ultrajson## Example
```python
from flask import Flask
from flask_ujson import UjsonProviderapp = Flask(__name__)
app.json = UjsonProvider(app)
```