There is a Chrome Extension called JSON View which validates your JSON and shows the error in a modal. Obviously you can use the awesome online tool JSON Lint to validate and format your JSON but this extension is pretty cool.

Update 18/06/13: Added reference to extension.

Chrome should do this out of the box I reckon.

chrome-1

chrome-2

Then when valid JSON we get this nice little collapse/expand node list.

chrome-3

It’s still not super smart though! Dutch?!? lol.

chrome-4

Sam Deering Sam Deering
Sam Deering is a Front-end Web Developer who specialises in JavaScript & jQuery. Sam is driven and passionate about sharing his knowledge to educate others.
Stay ahead of the game Exclusive content for developers and digital experts Go Premium