Skip to content

Allow the definition of a custom json serializer #332

@jmg-duarte

Description

@jmg-duarte

Basically, I want to be able to do something like

Client(serializer=orjson.loads, deserializer=orjson.dumps)

The aiohttp.ClientSession allows for custom serialization so it shouldn't be an hard implementation?
https://docs.aiohttp.org/en/stable/client_reference.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions