mirror of
https://github.com/json-c/json-c.git
synced 2026-04-02 03:49:06 +08:00
Add a json_type_to_name() function which returns a string that describes the type. Useful for logging.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@67 327403b1-1117-474d-bef2-5cb71233fd97
This commit is contained in:
@@ -40,6 +40,7 @@ typedef struct json_tokener json_tokener;
|
||||
/* supported object types */
|
||||
|
||||
typedef enum json_type {
|
||||
/* If you change this, be sure to update json_type_to_name() too */
|
||||
json_type_null,
|
||||
json_type_boolean,
|
||||
json_type_double,
|
||||
|
||||
Reference in New Issue
Block a user