# flask 3.1.3 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Serialize data as JSON to a string.

        Keyword arguments are passed to :func:`json.dumps`. Sets some
        parameter defaults from the :attr:`default`,
        :attr:`ensure_ascii`, and :attr:`sort_keys` attributes.

        :param obj: The data to serialize.
        :param kwargs: Passed to :func:`json.dumps`.
        
=== parse rest
short_description: 'Serialize data as JSON to a string.'
long_description: |
  Keyword arguments are passed to :func:`json.dumps`. Sets some
  parameter defaults from the :attr:`default`,
  :attr:`ensure_ascii`, and :attr:`sort_keys` attributes.
blank_after_short_description: True
blank_after_long_description: True
style: rest
- DocstringParam
  description: 'The data to serialize.'
  kind: param
  key: 'param'
  arg_name: 'obj'
  is_optional: False
- DocstringParam
  description: 'Passed to :func:`json.dumps`.'
  kind: param
  key: 'param'
  arg_name: 'kwargs'
  is_optional: False
=== detect
rest
=== compose rest
Serialize data as JSON to a string.

Keyword arguments are passed to :func:`json.dumps`. Sets some
parameter defaults from the :attr:`default`,
:attr:`ensure_ascii`, and :attr:`sort_keys` attributes.

:param obj: The data to serialize.
:param kwargs: Passed to :func:`json.dumps`.
