Skip to content

Commit

Permalink
Mention json_type_to_name() in the docs for json_object_get_type().
Browse files Browse the repository at this point in the history
  • Loading branch information
hawicz authored and Keith Derrick committed Apr 2, 2012
1 parent 7c4a964 commit 23d0da5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion json_object.h
Expand Up @@ -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),
Expand Down

0 comments on commit 23d0da5

Please sign in to comment.