#ifndef __CJSON_UTIL_INCLUDE__ #define __CJSON_UTIL_INCLUDE__ #ifdef __cplusplus extern "C" { #endif #include #include #include #include "cJSON.h" extern void cJSON_free(void *ptr); extern const char * cJSON_item_get_string(cJSON *object,const char *string); extern int cJSON_item_get_number(cJSON *object, const char *item_name, int * result); extern void cJSON_AddInteger2StringToObject(cJSON *object, const char *name, int i); #ifdef __cplusplus } #endif #endif /* __CJSON_UTIL_INCLUDE__ */