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 trialDan Oswalt
23,438 PointsJSON notation in browser window
When the teacher of this course pulls up his json-formatted info at teamtreehouse.com/davemcfarland.json, the page loads and the string is already displayed with readable spacing, but when I pull it up it's not spaced, just one long string.
Is there a setting for a browser to recognize a JSON object and display it with readable spacing?
2 Answers
Colton Ehrman
Courses Plus Student 5,859 PointsYou can get an addon/plugin for your browser to make it look better, lookup JSON Prettify, and find something in the results that you like
Chase Swanson
Courses Plus Student 8,886 PointsThe links for browser extensions are in the teachers notes below the video player. You simply need to install the extension for your browser(s).
Dan Oswalt
23,438 PointsThanks!