Constructor

MsgContactnew_from_json

Declaration [src]

MsgContact*
msg_contact_new_from_json (
  JsonObject* json_object,
  GError** error
)

Description [src]

Creates a new MsgContact 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: MsgContact
 

The newly created MsgContact

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