diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/views.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 4ac825613..d5dbce328 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -429,9 +429,8 @@ attributes by attaching properties to the request. See ``json``: JSON Renderer +++++++++++++++++++++++ -The ``json`` renderer is a renderer which renders view callable -results to :term:`JSON`. If a view callable returns a non-Response -object it is called. It passes the return value through the +The ``json`` renderer renders view callable +results to :term:`JSON`. It passes the return value through the ``json.dumps`` standard library function, and wraps the result in a response object. It also sets the response content-type to ``application/json``. |
