summaryrefslogtreecommitdiff
path: root/json-glib/json-gobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-gobject.h')
-rw-r--r--json-glib/json-gobject.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/json-glib/json-gobject.h b/json-glib/json-gobject.h
index a855fba..d294702 100644
--- a/json-glib/json-gobject.h
+++ b/json-glib/json-gobject.h
@@ -117,15 +117,15 @@ JsonNode *json_boxed_serialize (GType gboxed_t
gpointer json_boxed_deserialize (GType gboxed_type,
JsonNode *node);
-GObject * json_gobject_new (GType gtype,
- JsonObject *object);
-JsonObject *json_gobject_dump (GObject *gobject);
+JsonNode *json_gobject_serialize (GObject *gobject);
+GObject * json_gobject_deserialize (GType gtype,
+ JsonNode *node);
-GObject * json_construct_gobject (GType gtype,
+GObject * json_construct_gobject (GType gtype,
const gchar *data,
gsize length,
GError **error);
-gchar * json_serialize_gobject (GObject *gobject,
+gchar * json_serialize_gobject (GObject *gobject,
gsize *length) G_GNUC_MALLOC;
G_END_DECLS