Skip to content

Support custom JSON serializers#945

Open
0x12th wants to merge 1 commit into
pydantic:mainfrom
0x12th:feat/custom-json-serializer
Open

Support custom JSON serializers#945
0x12th wants to merge 1 commit into
pydantic:mainfrom
0x12th:feat/custom-json-serializer

Conversation

@0x12th
Copy link
Copy Markdown

@0x12th 0x12th commented May 15, 2026

Adds per-client and per-request JSON serializer and deserializer hooks so callers can use libraries such as orjson. This keeps the existing default JSON behavior unchanged while allowing request bodies and response decoding to be customized independently.

Closes #259.

@0x12th 0x12th force-pushed the feat/custom-json-serializer branch from 9821b07 to 402dc51 Compare May 15, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom JSON library

1 participant