migration
byCodemod

Python/Orjson/Recipe

/icons/calendar.svg

Last update

Jul 24, 2024

This recipe is a set of codemods that will upgrade json to orjson in your python projects.

The recipe includes the following codemods:

import orjson
raw_data = orjson.loads(dist_matched_artifact_index_release_file.file.getfile().read())
orjson.dumps(content_as_json, option=orjson.OPT_UTC_Z)
raw_data = orjson.loads(data)

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now