Hacker News new | ask | show | jobs
by vivekjishtu 5572 days ago
There is a bug while parsing http://reddit.com/.json It is unable to render it.
2 comments

Ok, fixed a null ref bug. http://reddit.com/.json now works, just a little ugly
I couldn't even get it to accept:

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

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.
That was an HN typo, as I had already closed the window where I typed the JSON.