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

Drew Carver
Drew Carver
5,189 Points

This question won't accept the answer

On the fill in the blank question about what two types JSON can be represented by, I've entered numerous variations of what the answer is (ordered lists and key-value pairs, arrays and key value pairs, ordered list of values and collection of key-value pairs, etc.) and it says my answer is incorrect every time. I don't think I'm missing anything on my understanding, so how do I get past this question so I can move on?

I concur with this comment. It's possible to fully understand JSON and not get past this question. It should be more flexible or a more specific question should be asked. There is a problem if people that understand the material are getting the answer wrong.

For example I said Array and Object with was judged to be incorrect. Dictionary and Object are essentially the same in JavaScript so I'd argue that this answer is correct.

Perhaps a multiple choice would be better than a free form answer?

1 Answer

Jeremy Hayden
Jeremy Hayden
1,740 Points

Drew,

The answer is Array and dictionary. You can find the answer by reading thru the video transcript