X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=doc%2Fapiref.rst;h=dcd401cedeb78e9d35db7524b26853852dbef7f5;hb=50031440a3b7ab2623e9468bd20e837250250cd9;hp=cf8842d9bf54020176c98fbbb7f73c486a6307b2;hpb=17d913307e60d1c3e41d01d9a4be81892d610b3f;p=jansson.git diff --git a/doc/apiref.rst b/doc/apiref.rst index cf8842d..dcd401c 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -519,6 +519,13 @@ can be ORed together to obtain *flags*. .. versionadded:: 1.2 +``JSON_ENSURE_ASCII`` + If this flag is used, the output is guaranteed to consist only of + ASCII characters. This is achived by escaping all Unicode + characters outside the ASCII range. + + .. versionadded:: 1.2 + The following functions perform the actual JSON encoding. The result is in UTF-8.