Home | Trees | Indices | Help |
---|
|
Model class for JSON. Serializes and de-serializes between JSON and the Python object representation of HTTP request and response bodies.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
accept = 'application/json'
|
|||
content_type = 'application/json'
|
|||
alt_param = 'json'
|
|
|||
Inherited from |
|
Construct a JsonModel. Args: data_wrapper: boolean, wrap requests and responses in a data wrapper
|
Perform the actual Python object serialization. Args: body_value: object, the request body as a Python object. Returns: string, the body in serialized form.
|
Perform the actual deserialization from response string to Python object. Args: content: string, the body of the HTTP response Returns: The body de-serialized as a Python object.
|
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 5 13:38:40 2017 | http://epydoc.sourceforge.net |