Thursday, January 10th, 2008

JSON Lint

I’ve been really getting into JSON as a transfer protocol lately. Having been recently muddled in XML, the simplicity of JSON is a welcome respite.

Despite its simplicity, I’ve still seen quite a bit of poorly formed JSON around. And I had a bit of trouble finding a simple JSON Validator / Reformatter service on the web anywhere. So I decided to create my own.

JSON Lint, the JSON Validator, is available now at jsonlint.com. It should validate all JSON properly, as well as reformat valid JSON for human readability.

It was really just a quick little project using a lot of third party stuff. The Blueprint CSS Framework, jQuery and Ben Spencer’s little jsonval flex/bison script made it dead simple to throw together a validator service in no time. The reformatting code I whipped together in about 30 minutes.

As usual, feedback is welcome – feel free to email me at chrisd@arc90.com with any questions or comments.

Comments are closed.