JsonResponse
A helper class for creating JSON responses.
The data to send in the response.
The JsonResponse instance.
body
Sets the body of the response.
send
Sends the response.
The status code.
status
Sets the status code of the response.
Static
The server response object.
A new JsonResponse instance.
for
Creates a new JsonResponse instance.
JsonResponse
Description
A helper class for creating JSON responses.