This project has moved and is read-only. For the latest updates, please go here.

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

Sep 20, 2010 at 4: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 2:46 AM

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