Guest User

Untitled

a guest
Jan 21st, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. Python 2.6.6 (r266:84292, Jun 16 2011, 16:59:16)
  2. [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
  3. Type "help", "copyright", "credits" or "license" for more information.
  4. >>> import json
  5. >>> json.__version__
  6. '1.9'
  7. >>> json.loads('[["spam","eggs"]]')
  8. [[u'spam', u'eggs']]
  9.  
  10. Python 2.7.1 (r271:86832, Dec 11 2010, 20:55:42)
  11. [GCC 4.2.1 (Apple Inc. build 5664)] on darwin
  12. Type "help", "copyright", "credits" or "license" for more information.
  13. >>> import json
  14. >>> json.__version__
  15. '2.0.9'
  16. >>> json.loads('[["spam","eggs"]]')
  17. [[u'spam', u'eggs']]
  18. >>> import simplejson
  19. >>> simplejson.__version__
  20. '2.1.6'
  21. >>> simplejson.loads('[["spam","eggs"]]')
  22. [['spam', 'eggs']]
Add Comment
Please, Sign In to add comment