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 Fri Jun 14 15:57:28 2019 | http://epydoc.sourceforge.net |