From 23d0da5870001b6faff76f21ab6dc57a00ae92e3 Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Sat, 31 Mar 2012 22:47:47 -0500 Subject: [PATCH] Mention json_type_to_name() in the docs for json_object_get_type(). --- json_object.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/json_object.h b/json_object.h index e9898f41ed..72a870887d 100644 --- a/json_object.h +++ b/json_object.h @@ -90,7 +90,9 @@ extern void json_object_put(struct json_object *obj); extern int json_object_is_type(struct json_object *obj, enum json_type type); /** - * Get the type of the json_object + * Get the type of the json_object. See also json_type_to_name() to turn this + * into a string suitable, for instance, for logging. + * * @param obj the json_object instance * @returns type being one of: json_type_null (i.e. obj == NULL),