Y
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
mythz
5571 days ago
Ok, fixed a null ref bug.
http://reddit.com/.json
now works, just a little ugly
link
jrockway
5572 days ago
I couldn't even get it to accept:
{"OH HAI":[{"foo":42, "bar":123}, {"foo":123, "bar":456}]}
link
thwarted
5572 days ago
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.
link
jrockway
5572 days ago
That was an HN typo, as I had already closed the window where I typed the JSON.
link