I have a 16MB JSON file that PHP’s json_last_error() tells me has a JSON Syntax Error. Unfortunately I have no idea WHERE the syntax error is. There are many online validators, but my data contains sensitive info that I’m not comfortable putting online. Is there a JSON validator available that I can download?
Thanks,
Just use Firebug extension in Firefox, or the built-in Chrome developer tools.
Get a bare local HTML page that you have the javascript file included with/in json2.js. Load up the file resource in your browser, and enable the debugging tools.
JsonValidator works with Firebug console.