Python/Orjson/Recipe

1.0.0Last update Jul 24, 2024
by@Codemod
migration

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