Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 OrjsonProvider

app = Flask(__name__)
app.json = OrjsonProvider(app)
```