Constructor

MsgMailFoldernew_from_json

Declaration [src]

MsgMailFolder*
msg_mail_folder_new_from_json (
  JsonObject* json_object,
  GError** error
)

Description [src]

Creates a new MsgMailFolder from json response object.

Parameters

json_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: MsgMailFolder
 

The newly created MsgMailFolder

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