Method

JsonObjectset_int_member

Declaration [src]

void
json_object_set_int_member (
  JsonObject* object,
  const gchar* member_name,
  gint64 value
)

Description [src]

Convenience function for setting an object member with an integer value.

See also: json_object_set_member(), json_node_init_int()

Available since:0.8

Parameters

member_name const gchar*
 

The name of the member.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
value gint64
 

The value of the member.