Q. Which method converts JSON to a string?

A
JSON.parse()
B
JSON.stringify()
C
JSON.toString()
D
JSON.convert()
Solution:

JSON.stringify() converts a JavaScript object to a JSON string.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!