https://github.com/vizonex/aiohttp_orjson
An Alternative dumping mechanism for using orjson with aiohttp
https://github.com/vizonex/aiohttp_orjson
aiohttp asyncio orjson python
Last synced: about 2 months ago
JSON representation
An Alternative dumping mechanism for using orjson with aiohttp
- Host: GitHub
- URL: https://github.com/vizonex/aiohttp_orjson
- Owner: Vizonex
- License: mit
- Created: 2024-09-07T18:40:15.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-07T18:52:43.000Z (9 months ago)
- Last Synced: 2025-02-09T04:41:05.163Z (4 months ago)
- Topics: aiohttp, asyncio, orjson, python
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aiohttp_orjson:
**aiohttp_orjson** is a bypass solution for [this issue](https://github.com/aio-libs/aiohttp/issues/4482) when orjson's encoding of utf-8 is already correct and since a [pull-request was already attempted](https://github.com/aio-libs/aiohttp/pull/4483), I Vizonex have decided to throw my hat into the ring by just making a sperate library for this functionality. The only difference I've made is that
this __does not take a custom dumper argument__ and instead takes the **opt enums** you provide from the orjson library and I intentionally did this to prevent malformed json from being sent [with this comment in mind](https://github.com/aio-libs/aiohttp/pull/4483#issuecomment-731592112).## TODOS:
- [] Pypi Upload
- [] A How to use code example