Document the JSON_ESCAPE_SLASH encoding flag
authorPetri Lehtinen <petri@digip.org>
Fri, 29 Jun 2012 10:09:36 +0000 (13:09 +0300)
committerPetri Lehtinen <petri@digip.org>
Fri, 29 Jun 2012 10:32:17 +0000 (13:32 +0300)
doc/apiref.rst

index e8f1375..b0a120f 100644 (file)
@@ -798,6 +798,11 @@ can be ORed together to obtain *flags*.
 
    .. versionadded:: 2.1
 
+``JSON_ESCAPE_SLASH``
+   Escape the ``/`` characters in strings with ``\/``.
+
+   .. versionadded:: 2.4
+
 The following functions perform the actual JSON encoding. The result
 is in UTF-8.