Implements JSON serializer.
It's just a wrapper around json (or simplejson if available).
Raised when stream of string failed to be deserialized
Raised when stream of string failed to be serialized
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.