diff options
Diffstat (limited to 'json-glib/json-gobject.h')
| -rw-r--r-- | json-glib/json-gobject.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/json-glib/json-gobject.h b/json-glib/json-gobject.h index d294702..8b6568d 100644 --- a/json-glib/json-gobject.h +++ b/json-glib/json-gobject.h @@ -121,12 +121,22 @@ JsonNode *json_gobject_serialize (GObject *gobject) GObject * json_gobject_deserialize (GType gtype, JsonNode *node); +GObject * json_gobject_from_data (GType gtype, + const gchar *data, + gssize length, + GError **error); +gchar * json_gobject_to_data (GObject *gobject, + gsize *length); + +#ifndef JSON_DISABLE_DEPRECATED GObject * json_construct_gobject (GType gtype, const gchar *data, gsize length, GError **error); gchar * json_serialize_gobject (GObject *gobject, gsize *length) G_GNUC_MALLOC; +#endif + G_END_DECLS |
