JSON visualization tool
chris.photobooks.com
chris.photobooks.com
A link tells me, "When you click, you'll see a different page."
A button tells me, "When you click this, something is going to happen to whatever you pasted in the form field."
Are there any other adjustments that people would like to see made?
Also, "Strict JSON" is not very strict (it permits numeric keys and implicitly converts them to strings, which is not within the JSON spec). I'm not sure if there are any other problems with it, nor if this is really the fault of the app or some code it uses (I didn't bother to check any of the internals).
"Strict JSON" makes use of the YUI JSON tool (2.6.0) for parsing, which disallows a few things: functions, regex objects, etc. Thus, the idea behind "Strict JSON" mode is to ensure that the provided JSON may be parsed by a JSON-parsing library, as opposed to requiring eval (I wrote this before native JSON support was available in most browsers).
I have not attempted to make my own "strict" JSON parser because I'm not sure what additional benefit would be gained from doing so. JSLint already has a perfectly functional JSON-checking mode that will give warnings about anything I would consider warning about.
Thanks for the comments!