Serializing to bytes #475
davetapley
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Hi @davetapley |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the spirit of #450 I'd like to propose a feature to optionally serialize JSON to
bytes.However:
pyserdesupports bothjsonandorjson(here), andjsonsays:So: How do you feel about a serializer which would do
.encode('utf-8')in the absence oforjson,and use
orjson.dumpsotherwise?Beta Was this translation helpful? Give feedback.
All reactions