
Untitled
By: a guest on
May 16th, 2011 | syntax:
None | size: 0.94 KB | hits: 65 | expires: Never
Support Empty Object
Input: {}
Output: {}
Input: { }
Output: {}
Support simple Object float value
Input: { "PI":3.141E-10}
Output: {"PI":3.141E-10}
Input: { "PI" : 3.141E-10 }
Output: {"PI":3.141E-10}
Support lowcase float value
Input: { "PI":3.141e-10}
Output: {"PI":3.141E-10}
Input: { "PI" : 3.141e-10 }
Output: {"PI":3.141E-10}
Bigint number support
Input: { "v":123456789123456789123456789}
Output: {"v":1.2345678912345679E26}
Array of empty Object
Input: [ { }, { },[]]
Output: [{},{},[]]
Input: [ { } , { } ,[ ]]
Output: [{},{},[]]
Double precision floating point
Input: { "v":1.7976931348623157E308}
Output: {"v":1.7976931348623157}