This project has moved. For the latest updates, please go here.

How can I make sure I have a valid JSON file?

Sep 20, 2010 at 3:51 PM

I would like to validate that a file is a valid JSON file. Is there a way to use this library to do that?




Sep 23, 2010 at 1:46 AM

Read over the JSON and if no exception is thrown upon reaching the end then it is valid JSON.