diff options
| author | Emmanuele Bassi <ebassi@openedhand.com> | 2007-09-20 17:33:28 +0100 |
|---|---|---|
| committer | Emmanuele Bassi <ebassi@openedhand.com> | 2007-09-20 20:35:49 +0100 |
| commit | c5bfb22f964b8f1feecdc8fb29d8a74b36861d32 (patch) | |
| tree | 15f05b52f97eaf01d11ea0046f8b12b982060209 /json-glib/json-private.h | |
| download | json-glib-c5bfb22f964b8f1feecdc8fb29d8a74b36861d32.tar.gz | |
Initial import of JSON-GLib
JSON-GLib is a JSON parser library written with GLib and GObject.
JSON is the JavaScript Object Notation, and it's used to define objects
and object hierarchies in a human-readable way.
Diffstat (limited to 'json-glib/json-private.h')
| -rw-r--r-- | json-glib/json-private.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/json-glib/json-private.h b/json-glib/json-private.h new file mode 100644 index 0000000..962ea7b --- /dev/null +++ b/json-glib/json-private.h @@ -0,0 +1,26 @@ +#ifndef __JSON_PRIVATE_H__ +#define __JSON_PRIVATE_H__ + +#include <glib-object.h> +#include <json-glib/json-types.h> + +G_BEGIN_DECLS + +JsonObject *json_object_new (void); +void json_object_add_member (JsonObject *object, + const gchar *member_name, + const GValue *value); + +JsonArray * json_array_new (void); +JsonArray * json_array_sized_new (guint n_elements); +void json_array_append_element (JsonArray *array, + const GValue *value); +void json_array_prepend_element (JsonArray *array, + const GValue *value); +void json_array_insert_element (JsonArray *array, + gint index_, + const GValue *value); + +G_END_DECLS + +#endif /* __JSON_PRIVATE_H__ */ |
