+ architecture_tag,
+ is_nominated_arch_indep,
+ distroseries_link);
+}
+
+struct distro_series *json_object_to_distro_series(json_object *o)
+{
+ const char *displayname;
+ const char *title;
+ const char *name;
+ const char *version;
+
+ displayname = json_object_get_string
+ (json_object_object_get(o, "displayname"));
+
+ title = json_object_get_string
+ (json_object_object_get(o, "title"));
+
+ version = json_object_get_string
+ (json_object_object_get(o, "version"));
+
+ name = json_object_get_string
+ (json_object_object_get(o, "name"));
+
+ return distro_series_new(name,
+ version,
+ title,
+ displayname);