summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--json-glib/json-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/json-glib/json-utils.c b/json-glib/json-utils.c
index 2ba3690..5fc8496 100644
--- a/json-glib/json-utils.c
+++ b/json-glib/json-utils.c
@@ -37,12 +37,12 @@
* @error: return location for a #GError
*
* Parses the string in @str and returns a #JsonNode representing
- * the JSON tree.
+ * the JSON tree. If @str is empty, this function will return %NULL.
*
* In case of parsing error, this function returns %NULL and sets
* @error appropriately.
*
- * Returns: (transfer full): a #JsonNode, or %NULL
+ * Returns: (transfer full) (nullable): a #JsonNode, or %NULL
*
* Since: 1.2
*/