Skip to content

Conversation

@jdufresne
Copy link
Contributor

Since Python 3.6, json.loads() accepts both Unicode and byte strings.

https://docs.python.org/3/library/json.html#json.loads

Changed in version 3.6: s can now be of type bytes or bytearray. The
input encoding should be UTF-8, UTF-16 or UTF-32.

Since Python 3.6, json.loads() accepts both Unicode and byte strings.

https://docs.python.org/3/library/json.html#json.loads

> Changed in version 3.6: s can now be of type bytes or bytearray. The
> input encoding should be UTF-8, UTF-16 or UTF-32.
@jpadilla jpadilla added this to the v2.0.0 milestone Dec 16, 2020
@jpadilla jpadilla merged commit 696f65d into jpadilla:master Dec 16, 2020
@jdufresne jdufresne deleted the json-loads branch December 18, 2020 00:50
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.

2 participants