summaryrefslogtreecommitdiff
path: root/index.rst
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2008-12-30 20:39:15 +0000
committerBob Ippolito <bob@redivi.com>2008-12-30 20:39:15 +0000
commite1fee64efcae3f5601a567b8483715dadff76100 (patch)
treec90c06add773a498b9f8cdc4e27279dfb5467651 /index.rst
parentaa95b2226ed8566a643378f0995ee626b8200368 (diff)
downloadsimplejson-e1fee64efcae3f5601a567b8483715dadff76100.tar.gz
add documentation for strict
git-svn-id: http://simplejson.googlecode.com/svn/trunk@158 a4795897-2c25-0410-b006-0d3caba88fa1
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)