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 trialMaksims Visnakovs
2,616 PointsString homePlanet = jsonObject.[//something to add//] ("planet");
Please, help me! I am really not sure what do I have to enter here. It is last quiz in JSON section of Build a Weather App.
Thanks in Advance
2 Answers
Jordan Ernst
5,121 Pointshere is the hint my friend, if you have a planet defined as a (String) of characters. how might you "GET" that information from the JsonObject?
hope that helps!
Nitin bahri
7,063 PointsString homePlanet = jsonObject.getString.("planet");