Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 16th, 2011  |  syntax: None  |  size: 0.94 KB  |  views: 68  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Support Empty Object
  2.         Input: {}
  3.         Output: {}
  4.         Input: {                      }
  5.         Output: {}
  6. Support simple Object float value
  7.         Input: { "PI":3.141E-10}
  8.         Output: {"PI":3.141E-10}
  9.         Input: {               "PI"              :                   3.141E-10       }
  10.         Output: {"PI":3.141E-10}
  11. Support lowcase float value
  12.         Input: { "PI":3.141e-10}
  13.         Output: {"PI":3.141E-10}
  14.         Input: {               "PI" :                   3.141e-10    }
  15.         Output: {"PI":3.141E-10}
  16. Bigint number support
  17.         Input: { "v":123456789123456789123456789}
  18.         Output: {"v":1.2345678912345679E26}
  19. Array of empty Object
  20.         Input: [ { }, { },[]]
  21.         Output: [{},{},[]]
  22.         Input: [            { }          , { }        ,[  ]]
  23.         Output: [{},{},[]]
  24. Double precision floating point
  25.         Input: { "v":1.7976931348623157E308}
  26.         Output: {"v":1.7976931348623157}