All Downloads are FREE. Search and download functionalities are using the official Maven repository.

C-libcurl.object-body.mustache Maven / Gradle / Ivy

There is a newer version: 7.8.0
Show newest version
#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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy