A

Admin • 828.03K Points
Coach

Q. Which of the following methods converts JSON data to a JavaScript object?

  • (A) JSON.parse()
  • (B) JSON.stringify()
  • (C) JSON.toObject()
  • (D) JSON.convert()
  • Correct Answer - Option(A)
  • Views: 3
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
JSON.parse() is used to parse JSON strings and convert them into JavaScript objects.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.