Seven years later and I still find myself using JSONLint whenever I need to check that a script is indeed producing or being supplied with a valid JSON string.

Pleasingly, a lot of my original 2012 post still checks out: “JSON, or JavaScript Object Notation, is a lightweight text-based open standard designed for human-readable data interchange. It is derived from the JavaScript scripting language for representing simple data structures and associative arrays, called objects. Despite its relationship to JavaScript, it is language-independent, with parsers available for many languages.”

In other words, a good option to shuttle a whole lot of key/value data between AJAX web services. The JSONLint tool itself validates JSON text, and also acts as a reformatter, making it much easier to debug a big chunk of JSON text.

Using the online JSON validator is as simple as copying your JSON text string into the big text area and hitting the “Validate JSON” button.

Useful little tool indeed.

Related Link: JSONLint