Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Weather App with Swift (Retired) Pulling Data From the Web JavaScript Object Notation

JSON Data With Google Chrome

If you have Google Chrome, there is an extension you can download that will get the JSON Data for you automatically. I use the extension, "JSONView".

When you download the extension and enable it, simply type in the url (https://api.forecast.io/forecast/apiKey/46.885141,-112.459763) and it will have JSON data for you.

Hope this helps!

4 Answers

http://jsonformatter.curiousconcept.com and http://prettyjson.com do the same job ;-)

But thanx for the advice :-)

Yes, I used those as well. Just wanted to show people newer to JSON data something different then whats in the video.

Yes there are many different methods, whatever one is the easiest to you, you should use :).

Thanks all of you : the playground was only returning me the Chrome logo in the debugger !! Now thanks to you guys I can see the JSON data returned by the URL of the course.

Thank you Daniel Sattler. Pretty JSON was not giving me the result shown in the video but http://jsonformatter.curiousconcept.com worked perfectly.