If you’re tired of tweaking json dump python params every time, try `orjson`. It’s faster *and* has sensible defaults.
Install it with `pip install orjson`, then:
```python
import orjson
print(orjson.dumps(data).decode())
```
It handles unicode properly and doesn’t need `ensure_ascii=False`.
Install it with `pip install orjson`, then:
```python
import orjson
print(orjson.dumps(data).decode())
```
It handles unicode properly and doesn’t need `ensure_ascii=False`.
