Method

JsonObjecthas_member

Declaration [src]

gboolean
json_object_has_member (
  JsonObject* object,
  const gchar* member_name
)

Description [src]

Checks whether object has a member named member_name.

Parameters

member_name

Type: const gchar*

The name of a JSON object member.

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

Return value

Type: gboolean

TRUE if the JSON object has the requested member.