JSON
JSON is text that looks like a JavaScript object. JSON.stringify turns data into text, JSON.parse turns text back into data.
Examplejavascript
Quick check
Which turns a JSON string into a JavaScript value?
Your turn: write the code
Turn the object into JSON text with JSON.stringify and print it.
Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.
Tip: use the left and right arrow keys to move between lessons.