From: David Lord Date: Tue, 2 Feb 2021 06:35:43 +0000 (-0800) Subject: update tojson docs X-Git-Tag: 3.0.0rc1~38^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1348%2Fhead;p=thirdparty%2Fjinja.git update tojson docs --- diff --git a/src/jinja2/filters.py b/src/jinja2/filters.py index db80aa5a..9fb52ed4 100644 --- a/src/jinja2/filters.py +++ b/src/jinja2/filters.py @@ -1251,37 +1251,29 @@ def do_rejectattr(*args, **kwargs): @evalcontextfilter def do_tojson(eval_ctx, value, indent=None): - """Dumps a structure to JSON so that it's safe to use in ``