Post
Topic
Board Mining software (miners)
Re: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.6.1
by
tjwebb
on 16/10/2014, 08:02:36 UTC
Perhaps you're trying to read them as integers? (They're doubles).

0.0000 is not valid JSON at all, for anything. It should just read 0.0.

My workaround is here, so you can see: https://github.com/hashware/node-cgminer-api/blob/master/lib/client.js#L105. I have to manually replace "nan" with 0, otherwise JSON.parse() fails.