summaryrefslogtreecommitdiff
path: root/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'index.rst')
-rw-r--r--index.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.rst b/index.rst
index fa8796f..87e8934 100644
--- a/index.rst
+++ b/index.rst
@@ -292,6 +292,10 @@ Encoders and decoders
strings: ``'-Infinity'``, ``'Infinity'``, ``'NaN'``. This can be used to
raise an exception if invalid JSON numbers are encountered.
+ *strict* controls the parser's behavior when it encounters an invalid
+ control character in a string. The default setting of ``True`` means that
+ unescaped control characters are parse errors, if ``False`` then control
+ characters will be allowed in strings.
.. method:: decode(s)