return ret;
}
+
+void
+zak_utils_json_set_integer (JsonBuilder *builder, const gchar *name, gint value)
+{
+ json_builder_set_member_name (builder, name);
+ json_builder_add_int_value (builder, value);
+}
+
+void
+zak_utils_json_set_double (JsonBuilder *builder, const gchar *name, gdouble value)
+{
+ json_builder_set_member_name (builder, name);
+ json_builder_add_double_value (builder, value);
+}
+
+void
+zak_utils_json_set_string (JsonBuilder *builder, const gchar *name, const gchar *value)
+{
+ json_builder_set_member_name (builder, name);
+ json_builder_add_string_value (builder, value);
+}
+
+void
+zak_utils_json_set_boolean (JsonBuilder *builder, const gchar *name, gboolean value)
+{
+ json_builder_set_member_name (builder, name);
+ json_builder_add_boolean_value (builder, value);
+}
const gchar *zak_utils_json_get_string (JsonReader *reader, const gchar *name);
gboolean zak_utils_json_get_boolean (JsonReader *reader, const gchar *name);
+void zak_utils_json_set_integer (JsonBuilder *builder, const gchar *name, gint value);
+void zak_utils_json_set_double (JsonBuilder *builder, const gchar *name, gdouble value);
+void zak_utils_json_set_string (JsonBuilder *builder, const gchar *name, const gchar *value);
+void zak_utils_json_set_boolean (JsonBuilder *builder, const gchar *name, gboolean value);
+
G_END_DECLS