A

json-response-to-orjson-response

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This custom codemod replaces JSONResponse with ORJSONResponseto bring consistency to the way we handle JSON responses in our codebase. Besides updating the response class, it also updates the imports to use from src.json_encoding import ORJSONResponse.

Ready to contribute?

Build your own codemod and share it with the community.