Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main - custom json serializers #88

Closed
wants to merge 2 commits into from

Conversation

EvilBorsch
Copy link

Hi, I came up with a way not to drag new dependencies, while took goccy/go-json in projects, were we are using your library. Developer could use SetJSONSerializers(gojson.Marshal, gojson.Unmarshal) in his main() function and enjoy faster json serialization/deserialization

@earthboundkid
Copy link
Owner

This is an interesting approach. I'll think about it. Part of me thinks you could just use the normal requests handlers for a custom serializer, but another part of me thinks JSON is special enough for this to be worthwhile.

@earthboundkid
Copy link
Owner

See #89 for a discussion.

@earthboundkid earthboundkid mentioned this pull request Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants