When dumping non-finite floating point values, output 'null'.
When dumping non-finite floating point values, output 'null'.

In JSON the float point special values NaN and Infinity should serialised to 'null'.
Previously, 'snprintf' in 'dump' was giving a string that isn't compliant to the JSON standard.

cch123/json11,PollRobots/json11,kaidokert/json11,edwiincao/json11,joncampbell123/json11,githubwoniu/json11,dropbox/json11,Fifty-Nine/json11,zhenglaizhang/json11,libmx3/json11,cmaughan/json11,Ricardo666666/json11,tempbottle/json11,DominikSadko/json11,githubwoniu/json11