πŸ“Š Django
Q. Which function in Django is used to return JSON responses?
  • (A) jsonify
  • (B) JsonResponse
  • (C) response_json
  • (D) return_json
πŸ’¬ Discuss
βœ… Correct Answer: (B) JsonResponse

Explanation: JsonResponse is used to return JSON data from views.

Explanation by: Mr. Dubey
JsonResponse is used to return JSON data from views.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
58
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate