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

json encoding support for python 3.9 #19

Open
emrahcetiner opened this issue Dec 22, 2019 · 1 comment
Open

json encoding support for python 3.9 #19

emrahcetiner opened this issue Dec 22, 2019 · 1 comment

Comments

@emrahcetiner
Copy link

encoding argument deprecated in json library since python 3.1 and it will be removed in python 3.9.

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

json.loads(s, *, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, **kw)
Deserialize s (a str, bytes or bytearray instance containing a JSON document) to a Python object using this conversion table.
The other arguments have the same meaning as in load(), except encoding which is ignored and deprecated since Python 3.1.
If the data being deserialized is not a valid JSON document, a JSONDecodeError will be raised.
Deprecated since version 3.1, will be removed in version 3.9: encoding keyword argument.
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.

@emrahcetiner
Copy link
Author

I have submitted a pull request for this issue. #20

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

1 participant