It's something like this, but this example seems a little complicated.
import simplejson as json json.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])
My dictionary is:
myfruits = {'fruit':4, 'color':11}
How can I turn this into a JSON, and then use render_to_response to shoot it to a template? I'm using Django.