Python/Orjson/Dumps Add UTC Z

1.0.1Last update Jul 24, 2024
by@Codemod

Add OPT_UTC_Z to orjson.dumps.

Example

Before

orjson.dumps(content_as_json)

After

orjson.dumps(content_as_json, option=orjson.OPT_UTC_Z)

Build custom codemods

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

background illustrationGet Started Now