Question · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript
JSON.parse()
What does the JSON.parse() method do?
Answer options
- Formats JSON with indentation
- Validates JSON syntax
- Converts a JSON string into a JavaScript object
- Converts a JavaScript object into a JSON string
You can check the correct answer by solving this task in the CodeWorlds game.