Home | Trees | Indices | Help |
---|
|
object --+ | Model --+ | BaseModel --+ | JsonModel
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 =
|
|||
content_type =
|
|||
alt_param =
|
|
|||
no_content_response | |||
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.
|
|
no_content_response
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Oct 2 20:46:22 2020 | http://epydoc.sourceforge.net |