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 trialnfs
35,526 PointsIs there any way to automatically validate the JSON?
Just asking, because I found an invalid JSON the other day, tried it in sites like JSON Lint and many others. Got so many problems, I didn't understand. Is there any site that can do the validation automatically, without me doing it? Thank you.
1 Answer
Jordan Watson
14,738 PointsYou could write a build step or include it in your project to write to a JSON File or continue to use a formatter, https://www.npmjs.com/package/gulp-json-format using Gulp you could work this in!