Q. Which method converts a JSON string into a JavaScript object?

  • (A) JSON.parse()
  • (B) JSON.stringify()
  • (C) JSON.convert()
  • (D) parseJSON()
πŸ’¬ Discuss
βœ… Correct Answer: (A) JSON.parse()
Explanation: JSON.parse() is used to convert JSON strings into JavaScript objects.
Explanation by: Mr. Dubey
JSON.parse() is used to convert JSON strings into JavaScript objects.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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