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-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.

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 UjsonProvider

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