On Wed, Jul 15, 2009 at 8:03 AM, J.D. <[email protected]> wrote:
> > This is really a pain because I'm calling the API and expecting JSON > data back. Do I need to check the data each time and see if I actually > got html by mistake? If so, then I'm uncertain what I should do with > the html. In my experience, that's necessary anyway - I wouldn't trust that it would never happen. My code waits a few seconds and tries again if the JSON parse fails. A bunch of fails in a row and it gives up. Nick
