JSON.parseMore
is a not eval based JSON parser which adds support for the much needed NaN and infinities.
Enter some JSON here :
{ "someNumbers":[-1e27,NaN,Infinity,-Infinity,2.2822022,-2.2702775,-2.1864045,-2.1246889,-2.0566146], "someObject":{"with":{"a":{"deeper":null}}}, "someNumber":NaN }