JSON.parse error, lastScrapeResult have binary data.
Posted: Sun Nov 02, 2014 1:49 pm
When request trackerStats, item lastScrapeResult may have binary data, and browser can't parse JSON.
I replace this item with regexp, but I think it need serialize.
I replace this item with regexp, but I think it need serialize.
Code: Select all
data.replace(/"lastScrapeResult":"[^"]*","/gm, '"lastScrapeResult":"","');