Lesson 34 of 35 · +110 xp

JSON Parse

Parse a JSON string.

Explained simply

Your task

Declare const data = JSON.parse('{"x":1}');

json.js
▶ Output (javascript)
Click 'Run code' to execute your code in a real sandbox.
← Back