News for hackers. Stuff that matters.
Re:Open-source, JavaScript JSON HTML viewer released by vivekjishtu on Sunday March 20, 2011 @10:19PM (#2348121)
There is a bug while parsing http://reddit.com/.json It is unable to render it.
Re:Open-source, JavaScript JSON HTML viewer released by mythz on Monday March 21, 2011 @07:18PM (#2352095)
Ok, fixed a null ref bug. http://reddit.com/.json now works, just a little ugly
Re:Open-source, JavaScript JSON HTML viewer released by jrockway on Sunday March 20, 2011 @11:40PM (#2348345)
I couldn't even get it to accept:

{"OH HAI":[{"foo":42, "bar":123}, {"foo":123, "bar":456}]}

Re:Open-source, JavaScript JSON HTML viewer released by thwarted on Monday March 21, 2011 @12:47AM (#2348518)
This:

    {"foo":42, "bar",123}
isn't even a valid JSON object. If you make it valid JSON and replace the comma in this with a colon, it accepts it.
Re:Open-source, JavaScript JSON HTML viewer released by jrockway on Monday March 21, 2011 @01:15AM (#2348574)
That was an HN typo, as I had already closed the window where I typed the JSON.