summaryrefslogtreecommitdiff
path: root/json-glib/json-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-object.c')
-rw-r--r--json-glib/json-object.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/json-glib/json-object.c b/json-glib/json-object.c
index 6d203b2..c71d8f9 100644
--- a/json-glib/json-object.c
+++ b/json-glib/json-object.c
@@ -722,11 +722,13 @@ json_object_get_array_member (JsonObject *object,
* @member_name: the name of the member
*
* Convenience function that retrieves the object
- * stored in @member_name of @object
+ * stored in @member_name of @object. It is an error to specify a @member_name
+ * which does not exist.
*
* See also: json_object_get_member()
*
- * Return value: (transfer none): the object inside the object's member
+ * Return value: (transfer none) (nullable): the object inside the object’s
+ * member, or %NULL if the value for the member is `null`
*
* Since: 0.8
*/