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.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/json-glib/json-gobject.h b/json-glib/json-gobject.h
index abd2f95..99cd3af 100644
--- a/json-glib/json-gobject.h
+++ b/json-glib/json-gobject.h
@@ -76,8 +76,12 @@ gboolean json_serializable_deserialize_property (JsonSerializable *serializable
JsonNode *property_node);
-gchar *json_serialize_gobject (GObject *gobject,
- gsize *length);
+GObject *json_construct_gobject (GType gtype,
+ const gchar *data,
+ gsize length,
+ GError **error);
+gchar * json_serialize_gobject (GObject *gobject,
+ gsize *length) G_GNUC_MALLOC;
G_END_DECLS