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

allow loads loads_as to load bytes for json, yaml etc... #35

Open
sbant opened this issue Dec 16, 2020 · 1 comment
Open

allow loads loads_as to load bytes for json, yaml etc... #35

sbant opened this issue Dec 16, 2020 · 1 comment

Comments

@sbant
Copy link

sbant commented Dec 16, 2020

I'm using trio_websocket and got message in bytes.

orjson support this.
loads function in orjson:
def loads(__obj: Union[bytes, bytearray, str]) -> Any: ...

@YushiOMOTE
Copy link
Owner

Thank you for the feedback!

Right! 👍 Good point! I'll support it.

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

No branches or pull requests

2 participants