Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pallets-eco/flask-orjson
A Flask/Quart JSON provider using the fast orjson library.
https://github.com/pallets-eco/flask-orjson
flask json orjson pallets pallets-eco python quart
Last synced: 3 months ago
JSON representation
A Flask/Quart JSON provider using the fast orjson library.
- Host: GitHub
- URL: https://github.com/pallets-eco/flask-orjson
- Owner: pallets-eco
- License: mit
- Created: 2023-12-01T13:46:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-24T19:48:45.000Z (5 months ago)
- Last Synced: 2024-08-24T20:49:21.080Z (5 months ago)
- Topics: flask, json, orjson, pallets, pallets-eco, python, quart
- Language: Python
- Homepage: https://flask-orjson.readthedocs.io
- Size: 105 KB
- Stars: 10
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# flask-orjson
A [Flask][]/[Quart][] JSON provider using the fast [orjson][] 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
[orjson]: https://github.com/ijl/orjson## Example
```python
from flask import Flask
from flask_orjson import OrjsonProviderapp = Flask(__name__)
app.json = OrjsonProvider(app)
```