parameters: (data)
return_statement: return flask.current_app.response_class(jsonified_safe,
              mimetype='application/json')
docstring: Returns a flask.Response of data, JSON-stringified.
  
      This is basically Flask's jsonify
      (https://github.com/mitsuhiko/flask/blob/master/flask/json.py), but plugs
      an XSS hole and knows how to encode Mongo ObjectIds and datetimes.
docstring_summary: Returns a flask.Response of data, JSON-stringified.
docstring_tokens: Returns a flask . Response of data JSON - stringified .
function: def jsonify(data):
      """Returns a flask.Response of data, JSON-stringified.
  
      This is basically Flask's jsonify
      (https://github.com/mitsuhiko/flask/blob/master/flask/json.py), but plugs
      an XSS hole and knows how to encode Mongo ObjectIds and datetimes.
      """
      indent = None if flask.request.is_xhr else 2
  
      jsonified = json.dumps(data, indent=indent, cls=ApiJsonEncoder)
      jsonified_safe = jsonified.replace('</', '<\\/')
  
      return flask.current_app.response_class(jsonified_safe,
              mimetype='application/json')
function_tokens: def jsonify ( data ) : indent = None if flask . request . is_xhr else 2 jsonified = json . dumps ( data , indent = indent , cls = ApiJsonEncoder ) jsonified_safe = jsonified . replace ( '</' , '<\\/' ) return flask . current_app . response_class ( jsonified_safe , mimetype = 'application/json' )