|
Typedefs |
typedef struct _MicrofeedJson | MicrofeedJson |
typedef int(* | MicrofeedJsonCompareMembersFunction )(MicrofeedJson *json, unsigned int index1, unsigned int index2, void *user_data) |
Enumerations |
enum | MicrofeedJsonType {
MICROFEED_JSON_TYPE_NULL = 0,
MICROFEED_JSON_TYPE_OBJECT,
MICROFEED_JSON_TYPE_ARRAY,
MICROFEED_JSON_TYPE_INTEGER,
MICROFEED_JSON_TYPE_DECIMAL,
MICROFEED_JSON_TYPE_STRING,
MICROFEED_JSON_TYPE_BOOLEAN
} |
Functions |
MicrofeedJson * | microfeed_json_new_object (void) |
MicrofeedJson * | microfeed_json_new_array (void) |
MicrofeedJson * | microfeed_json_new_from_data (const char *data, size_t length) |
void | microfeed_json_free (MicrofeedJson *json) |
int | microfeed_json_is_array (MicrofeedJson *json) |
MicrofeedJson * | microfeed_json_get_parent (MicrofeedJson *json) |
unsigned int | microfeed_json_get_size (MicrofeedJson *json) |
MicrofeedJsonType | microfeed_json_get_type (MicrofeedJson *json, const char *name) |
MicrofeedJsonType | microfeed_json_get_type_by_index (MicrofeedJson *json, unsigned int index) |
MicrofeedJsonType | microfeed_json_get_type_by_path (MicrofeedJson *json, const char *name,...) |
const char * | microfeed_json_get_name_by_index (MicrofeedJson *json, unsigned int index) |
int | microfeed_json_is_null (MicrofeedJson *json, const char *name) |
int | microfeed_json_is_null_by_index (MicrofeedJson *json, unsigned int index) |
int | microfeed_json_is_null_by_path (MicrofeedJson *json, const char *name1,...) |
MicrofeedJson * | microfeed_json_get_object (MicrofeedJson *json, const char *name) |
MicrofeedJson * | microfeed_json_get_object_by_index (MicrofeedJson *json, unsigned int index) |
MicrofeedJson * | microfeed_json_get_object_by_path (MicrofeedJson *json, const char *name,...) |
MicrofeedJson * | microfeed_json_get_array (MicrofeedJson *json, const char *name) |
MicrofeedJson * | microfeed_json_get_array_by_index (MicrofeedJson *json, unsigned int index) |
MicrofeedJson * | microfeed_json_get_array_by_path (MicrofeedJson *json, const char *name,...) |
const char * | microfeed_json_get_string (MicrofeedJson *json, const char *name) |
const char * | microfeed_json_get_string_by_index (MicrofeedJson *json, unsigned int index) |
const char * | microfeed_json_get_string_by_path (MicrofeedJson *json, const char *name,...) |
int | microfeed_json_get_boolean (MicrofeedJson *json, const char *name) |
int | microfeed_json_get_boolean_by_index (MicrofeedJson *json, unsigned int index) |
int | microfeed_json_get_boolean_by_path (MicrofeedJson *json, const char *name,...) |
const char * | microfeed_json_get_as_string (MicrofeedJson *json, const char *name) |
const char * | microfeed_json_get_as_string_by_index (MicrofeedJson *json, unsigned int index) |
const char * | microfeed_json_get_as_string_by_path (MicrofeedJson *json, const char *name,...) |
char * | microfeed_json_to_string (MicrofeedJson *json, const char *name) |
char * | microfeed_json_to_string_by_index (MicrofeedJson *json, unsigned int index) |
char * | microfeed_json_to_string_by_path (MicrofeedJson *json, const char *name,...) |
void | microfeed_json_set_null (MicrofeedJson *json, const char *name) |
void | microfeed_json_append_null (MicrofeedJson *json, MicrofeedJson *object) |
void | microfeed_json_set_object (MicrofeedJson *json, const char *name, MicrofeedJson *object) |
void | microfeed_json_append_object (MicrofeedJson *json, MicrofeedJson *object) |
void | microfeed_json_set_string (MicrofeedJson *json, const char *name, const char *string) |
void | microfeed_json_append_string (MicrofeedJson *json, const char *string) |
void | microfeed_json_set_boolean (MicrofeedJson *json, const char *name, int boolean) |
void | microfeed_json_append_boolean (MicrofeedJson *json, int boolean) |
void | microfeed_json_sort_array (MicrofeedJson *json, MicrofeedJsonCompareMembersFunction compare_members, void *user_data) |
int | microfeed_json_compare_members (MicrofeedJson *json, unsigned int index1, unsigned int index2) |