Q. What is the purpose of the method JSON.parse()?

  • (A) Parses a string to integer
  • (B) Parses a string to JSON
  • (C) Parses a string from JSON to JSON2
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (B) Parses a string to JSON
Explanation: The JSON.parse() method parses a string as JSON, optionally transforming the value produced by parsing.
Explanation by: Mr. Dubey
The JSON.parse() method parses a string as JSON, optionally transforming the value produced by parsing.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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