Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2015
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. import simplejson
  2.  
  3. raw_json = """
  4. [
  5.    "foo",
  6.    {
  7.        "bar": ["baz", null, 1.0, 2]
  8.    }
  9. ]
  10. """
  11.  
  12. decoded_json = simplejson.loads(raw_json)
  13. print decoded_json
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement