My views have the following code:
def __init__(self, obj='', json_opts={}, mimetype="application/json", *args, **kwargs): content = simplejson.dumps(obj, **json_opts) super(JSONResponse, self).__init__(content, mimetype, *args, **kwargs)
Since simplejson will be deprecated, can I use this
content = json.dumps(obj, **json_opts)
or do i need to do more?
source share