fusionbox.http.
JsonResponse
Takes a jsonable object and returns a response with its encoded value. Also sets the Content-Type to json.
Usage:
def aview(request): return JsonResponse({'foo': 1})