byCodemod

Python/Orjson/Dumps Add UTC Z

/icons/calendar.svg

Last update

Jul 24, 2024

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