#include #include #include #include "object.h" object_t *object_create() { object_t *object = malloc(sizeof(object_t)); return object; } void object_free(object_t *object) { free (object); } cJSON *object_convertToJSON(object_t *object) { cJSON *item = cJSON_CreateObject(); return item; fail: cJSON_Delete(item); return NULL; } object_t *object_parseFromJSON(char *jsonString){ object_t *object = NULL; return object; end: return NULL; }