Created
March 23, 2011 22:08
-
-
Save dylanvee/884142 to your computer and use it in GitHub Desktop.
Demo of the simplejson library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
import simplejson | |
plant_of_the_week = { | |
"name":"American pasqueflower", | |
"haiku":"Beautifully purple...", | |
"link":"http://www.neoninc.org/..." | |
} | |
print simplejson.dumps(plant_of_the_week) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment