orjson is a fast, correct JSON library for Python. It benchmarks as the fastest Python library for JSON and is more correct than the standard json library or other third-party libraries. It serializes dataclass, datetime, numpy, and UUID instances natively.
(https://github.com/ijl/orjson)
Is it possible to either replace the current JSON serializer with orjson or add it as an alternative JSON serializer?
It seems that in most cases it's ways faster and more correct than the native json module.
Is it possible to either replace the current JSON serializer with orjson or add it as an alternative JSON serializer? It seems that in most cases it's ways faster and more correct than the native json module.