JavaScript Associate — Easy
Key points
- JSON.parse() is used to parse a JSON string into a JavaScript object.
- JSON.stringify() is used to convert a JavaScript object to a JSON string.
- JSON.decode() and JSON.convert() are not valid methods for converting JSON strings to JavaScript objects.
Ready to go further?
Related questions
