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

Android Build a Weather App (2015) Working with JSON Review: Working with JSON

how to complete this quiz

how to complete this quiz

1 Answer

Do numerical values require double quotes around them in JSON? NO (as with almost any language, all that I know, when using numbers as a double or int, you do not need quotes around them like a string.)

Which of the following image names is NOT allowed in the res directory? clear-day (You can not use a hyphen "-" in the res directory)

Why is the time value from forecast.io stored as a 'long' data type? It is for UNIX time, which is the number of seconds that have elapsed since 1/1/1970. (This is a universal thing.)

Fill in the appropriate method to set the 'homePlanet' variable based on the JSON provided. getString (Re-watch the video for an explanation)

Which two classes are used to parse JSON data in Android? JSONObject and JSONArray