News for hackers. Stuff that matters.
Re:JSONLint, The JSON Validator by atuladhar on Sunday February 26, 2012 @02:55PM (#3636566)
Also worth mentioning is the pure JavaScript implementation at http://zaach.github.com/jsonlint/ for people worried about sending data to the jsonlint.com server.
Re:JSONLint, The JSON Validator by Xion on Sunday February 26, 2012 @03:31PM (#3636695)
A casual inspection of Firebug shows that the only way JSONLint communicates with outside world when you click Validate is to report usage to Google Analytics. It certainly doesn't appear to be sending the actual JSON anywhere.
Re:JSONLint, The JSON Validator by umbrae on Sunday February 26, 2012 @06:08PM (#3637115)
This is correct, I'm the creator of jsonlint. It actually uses zaach's implementation of jsonlint in JS, now.

Fun fact: jsonlint uses an html5 cache manifest, and can be used even while offline.

Re:JSONLint, The JSON Validator by atuladhar on Friday March 02, 2012 @02:08PM (#3657869)
Thanks; that's good to know. Thank you also for jsonlint.com; great tool.
Re:JSONLint, The JSON Validator by indubitably on Sunday February 26, 2012 @09:36PM (#3637568)
Google Analytics is just as irritating.
Re:JSONLint, The JSON Validator by bstar77 on Sunday February 26, 2012 @02:59PM (#3636583)
If anyone wants to validate on the client side(mac) and also have a great UI for editing/creating json strings, I highly recommend: http://olivierlabs.com/jason/index.html

I find that I use this tool constantly to build mocks for prototypeing and testing my various JS projects.

Re:JSONLint, The JSON Validator by kisom on Sunday February 26, 2012 @05:43PM (#3637046)
I wrote a quick Python version for use on the command line: https://gist.github.com/1653544
Re:JSONLint, The JSON Validator by tebeka on Sunday February 26, 2012 @08:52PM (#3637467)
python -m json.tool /path/to/file.json
Re:JSONLint, The JSON Validator by thezilch on Sunday February 26, 2012 @06:00PM (#3637090)
Quick python validator, for those that would rather stay on the CLI and/or not have to copy/paste/submit to an external service: https://gist.github.com/1919460
Re:JSONLint, The JSON Validator by NathanKP on Sunday February 26, 2012 @03:34PM (#3636705)
Another JSON tool that is less well known but also extremely useful is the JSON schema validator tool at:

http://json-schema-tester.herokuapp.com/

Re:JSONLint, The JSON Validator by Newky on Sunday February 26, 2012 @04:19PM (#3636827)
I know its a fundamental part of web browsing but the inability to use tabs in a text area such as this gets to me.
Re:JSONLint, The JSON Validator by alanh on Sunday February 26, 2012 @04:47PM (#3636905)
http://alanhogan.com/code/tabs-in-textareas I link to a bookmarklet here that should help. (You can hit Esc to break out of the textarea, I believe)
Re:JSONLint, The JSON Validator by Newky on Sunday February 26, 2012 @05:43PM (#3637044)
Wow thank you. This is very very useful. This has plagued me in a number of websites recently.
Re:JSONLint, The JSON Validator by axisK on Sunday February 26, 2012 @03:04PM (#3636613)
Have been using this for a while now as a quick way to get data a bit readable. Works pretty well.
Re:JSONLint, The JSON Validator by alexkcd on Sunday February 26, 2012 @06:09PM (#3637118)
Check out apigee.com if you want something more refined.
Re:JSONLint, The JSON Validator by hp on Sunday February 26, 2012 @10:35PM (#3637671)
it seems to allow duplicate keys but drops all but one. I have no idea if this is correct since the JSON spec doesn't really cover it. personally I think the spec should ban it because it means you need to parse the closing brace for an object before you know you have the right value for any field. also it means you need to keep a dictionary-like representation in memory to detect the dups, a list or stream of pairs wouldn't consolidate dups.

a nitpick for sure but several times I've wished the JSON spec had something to say here.

Re:JSONLint, The JSON Validator by braco_alva on Sunday February 26, 2012 @02:51PM (#3636558)
This is a nice litte webapp, I have been using it for a couple of months now, and it has been very useful.