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 trialdarrian thomas
8,481 PointsJSON is a string that's formatted LIKE a JavaScript object literal
can someone explain this concept a little more?
darrian thomas
8,481 Pointsnice that makes a little more sense. i see the differences between them. thanks
1 Answer
Steven Parker
231,236 PointsWell, it's not just like any JavaScript object, but like one composed of a collection of nested lists of property/value pairs. A handy example of a large JSON object is your own Treehouse profile data.
You can see that it looks very much like a JavaScript data object.
Gregory Katchmar
10,912 PointsGregory Katchmar
10,912 PointsHere's a discussion that touches upon this: http://benalman.com/news/2010/03/theres-no-such-thing-as-a-json/