A

Admin • 828.03K Points
Coach

Q. Which method can be used to convert a JSON string into a JavaScript object?

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

Explanation by: Admin
JSON.parse() converts a valid JSON string into a JavaScript object.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.