1 #ifndef __SIMPLE_JSON_VALUE_H__ 2 #define __SIMPLE_JSON_VALUE_H__ SJString * sj_string_to_json_string(SJson *string)
get the contents of the string back formatted and escaped for json
this is the abstract container structure for all json data This structure may be an object...
struct SJson_S SJson
this is the abstract container structure for all json data This structure may be an object...
SJson * sj_new()
allocate a new empty json object
void(* json_free)(struct SJson_S *json)
this is a simple list structure intended to hold an arbitrary number of elements list will automatica...
SJson * sj_string_to_value(SJString *string)
make a jason value object out of a string
a basic structure that keeps track of a string and its length Automatically grows to accomodate longe...
void sj_free(SJson *sjs)
frees a previously loaded json struct
SJString * sj_value_to_json_string(SJson *json)
convert the json value into a json string