Implements JSON serializer.
It's just a wrapper around json (or simplejson if available).
Deserialize any string or stream like object into a Python data structure.
stream_or_string -- stream or string to deserialize.
options -- options given to lower json/simplejson module.
Serialize Python data to JSON.
obj -- the data structure to serialize
options -- options given to lower json/simplejson module.