Q. Which function in Django is used to return JSON responses?
β
Correct Answer: (B)
JsonResponse
Explanation: JsonResponse is used to return JSON data from views.