return ret;
}
+const gchar
+*zak_form_json_provider_get_stringify (ZakFormJsonProvider *provider)
+{
+ const gchar *ret;
+
+ JsonGenerator *generator;
+
+ ZakFormJsonProviderPrivate *priv = zak_form_json_provider_get_instance_private (provider);
+
+ generator = json_generator_new ();
+ json_generator_set_root (generator, priv->root);
+
+ ret = json_generator_to_data (generator, NULL);
+
+ g_object_unref (generator);
+
+ return ret;
+}
+
/* PRIVATE */
static void
zak_form_json_provider_set_property (GObject *object,
void zak_form_json_provider_set_filename (ZakFormJsonProvider *provider, const gchar *filename);
const gchar *zak_form_json_provider_get_filename (ZakFormJsonProvider *provider);
+const gchar *zak_form_json_provider_get_stringify (ZakFormJsonProvider *provider);
+
+
G_END_DECLS