Skip to content

Instantly share code, notes, and snippets.

@dylanvee
Created March 23, 2011 22:08
Show Gist options
  • Save dylanvee/884142 to your computer and use it in GitHub Desktop.
Save dylanvee/884142 to your computer and use it in GitHub Desktop.
Demo of the simplejson library
#!/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