Advertisement
Guest User

Untitled

a guest
May 16th, 2011
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  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}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement