summaryrefslogtreecommitdiff
path: root/index.rst
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2009-12-27 10:17:46 +0000
committerBob Ippolito <bob@redivi.com>2009-12-27 10:17:46 +0000
commitbbd8054480f46e92281d1f436e59fe4b52439561 (patch)
tree4346be1801bb0518f0fe800c82fcf04a71885221 /index.rst
parentc5042a153f03c3de52d47dc9286dfe9ea4ec7360 (diff)
downloadsimplejson-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.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/index.rst b/index.rst
index 7b646ae..9961f96 100644
--- a/index.rst
+++ b/index.rst
@@ -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