summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2016-09-10 10:16:18 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2016-09-10 10:16:18 (GMT)
commitb161562f72a28e83e62ec0a0a5de601e7724629f (patch)
treecdcfdd5c358fd7bcc4007dadd1aede5e66964396 /Doc/whatsnew
parent457fc9a69e7918e3c10319604903915c2f2ecd9a (diff)
downloadcpython-b161562f72a28e83e62ec0a0a5de601e7724629f.zip
cpython-b161562f72a28e83e62ec0a0a5de601e7724629f.tar.gz
cpython-b161562f72a28e83e62ec0a0a5de601e7724629f.tar.bz2
Issue #17909: Accept binary input in json.loads
json.loads (and hence json.load) now support binary input encoded as UTF-8, UTF-16 or UTF-32. Patch by Serhiy Storchaka.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.6.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index 4083f39..59ac332 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -680,6 +680,14 @@ restriction that :class:`importlib.machinery.BuiltinImporter` and
:term:`path-like object`.
+json
+----
+
+:func:`json.load` and :func:`json.loads` now support binary input. Encoded
+JSON should be represented using either UTF-8, UTF-16, or UTF-32.
+(Contributed by Serhiy Storchaka in :issue:`17909`.)
+
+
os
--