def json(body, status=<NUM_LIT:200>, headers=None, **kwargs):
return HTTPResponse(json_dumps(body, **kwargs), headers=headers,<EOL>status=status, content_type='<STR_LIT:application/json>')<EOL>
Returns response object with body in json format.
:param body: Response data to be serialized.
:param status: Response code.
:param headers: Custom Headers.
:param kwargs: Remaining arguments that are passed to the json encoder.