diff options
author | Bob Ippolito <bob@redivi.com> | 2008-12-30 20:39:15 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2008-12-30 20:39:15 +0000 |
commit | e1fee64efcae3f5601a567b8483715dadff76100 (patch) | |
tree | c90c06add773a498b9f8cdc4e27279dfb5467651 /index.rst | |
parent | aa95b2226ed8566a643378f0995ee626b8200368 (diff) | |
download | simplejson-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.rst | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |