JavaScript AJAX Basics (retiring) Programming AJAX Processing JSON Data

How to get data from web server and parse them to JSON format?

Are there any tutorials in TreeHouse to get data from a web-Server and convert them to JSON format?

1 Answer

Steven Parker
Steven Parker
182,603 Points

The opposite of JSON.parse is JSON.stringify.

I think that's what you're after, but I might expect data from a server would already be in JSON format. And I would also have expected it to be covered in the course you're taking now, isn't it?

But even if not, there's always the handy MDN documentation.

Thank you Steven. That helps. :-)