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