Simple JSON  0.1
A free simple json library for C
simple_json_object.h
Go to the documentation of this file.
1 #ifndef __SIMPLE_JSON_OBJECT_H__
2 #define __SIMPLE_JSON_OBJECT_H__
3 
4 #include "simple_json_value.h"
5 
10 void sj_object_free(SJson *object);
11 
12 void sj_object_insert(SJson *object,char *key,SJson *value);
13 
20 
21 
22 #endif
this is the abstract container structure for all json data This structure may be an object...
void sj_object_insert(SJson *object, char *key, SJson *value)
insert data into a json object
SJString * sj_object_to_json_string(SJson *object)
get the json object back as a formatted json string
a basic structure that keeps track of a string and its length Automatically grows to accomodate longe...
void sj_object_free(SJson *object)
free a previously allocated json object