Currently, on initialization of a response.JSONResponse object, the data parameter gets directly dumped to a string using json.dumps(data), while it would be more convenient to preserve the JSON object in the data attribute and only dump it to a string on rendering.
Currently, on initialization of a
response.JSONResponse
object, thedata
parameter gets directly dumped to a string usingjson.dumps(data)
, while it would be more convenient to preserve the JSON object in the data attribute and only dump it to a string on rendering.