diff options
author | Bob Ippolito <bob@redivi.com> | 2009-12-27 10:17:46 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2009-12-27 10:17:46 +0000 |
commit | bbd8054480f46e92281d1f436e59fe4b52439561 (patch) | |
tree | 4346be1801bb0518f0fe800c82fcf04a71885221 /index.rst | |
parent | c5042a153f03c3de52d47dc9286dfe9ea4ec7360 (diff) | |
download | simplejson-bbd8054480f46e92281d1f436e59fe4b52439561.tar.gz |
http://code.google.com/p/simplejson/issues/detail?id=66
git-svn-id: http://simplejson.googlecode.com/svn/trunk@202 a4795897-2c25-0410-b006-0d3caba88fa1
Diffstat (limited to 'index.rst')
-rw-r--r-- | index.rst | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -458,3 +458,10 @@ Encoders and decoders Note that :meth:`encode` has much better performance than :meth:`iterencode`. + +.. class:: JSONEncoderForHTML([skipkeys[, ensure_ascii[, check_circular[, allow_nan[, sort_keys[, indent[, separators[, encoding[, default]]]]]]]]]) + + Subclass of :class:`JSONEncoder` that escapes &, <, and > for embedding in HTML. + + .. versionchanged:: 2.1.0 + New in 2.1.0 |