Constructor

MsgDrivenew_from_json

Declaration [src]

MsgDrive*
msg_drive_new_from_json (
  JsonObject* object,
  GError** error
)

Description [src]

Creates a new MsgDrive from json response object.

Parameters

object JsonObject
 

The json object to parse.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: MsgDrive
 

The newly created MsgDrive

 The caller of the function takes ownership of the data, and is responsible for freeing it.