Q. Which class is used to return JSON response in Django?

  • (A) JsonReply
  • (B) JsonMessage
  • (C) JsonView
  • (D) JsonResponse
πŸ’¬ Discuss
βœ… Correct Answer: (D) JsonResponse
Explanation: `JsonResponse` is used to send JSON data from a view.
Explanation by: Mr. Dubey
`JsonResponse` is used to send JSON data from a view.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
107
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate