Browse Source

Mention json_type_to_name() in the docs for json_object_get_type().

tags/json-c-0.11-20130402
Eric Haszlakiewicz Keith Derrick 13 years ago
parent
commit
23d0da5870
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      json_object.h

+ 3
- 1
json_object.h View File

@@ -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); 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 * @param obj the json_object instance
* @returns type being one of: * @returns type being one of:
json_type_null (i.e. obj == NULL), json_type_null (i.e. obj == NULL),


Loading…
Cancel
Save