+/*
+{
+ "application_id": "onscreenapp",
+ "title": "onscreen title",
+ "type": "information",
+ "contents": "message contents",
+ "buttons": ["button_name1"],
+ "replyto":"onstestapp"
+}
+*/
+static struct json_object *
+build_fake_json(void)
+{
+ struct json_object *tmp;
+ struct json_object *obj = json_object_new_object();
+ struct json_object *array = json_object_new_array();
+
+ tmp = json_object_new_string("Big Title");
+ json_object_object_add(obj, "title", tmp);
+
+ tmp = json_object_new_string("Informatin");
+ json_object_object_add(obj, "type", tmp);
+
+ tmp = json_object_new_string("Our message contents");
+ json_object_object_add(obj, "contents", tmp);
+
+ tmp = json_object_new_string("onstestapp");
+ json_object_object_add(obj, "replyto", tmp);
+
+ /* array */
+ tmp = json_object_new_string("Button");
+ json_object_array_add(array, tmp);
+ json_object_object_add(obj, "buttons", array);
+
+ tmp = json_object_new_string(APP_ID);
+ json_object_object_add(obj, "application_id", tmp);
+
+ /* adds the entire object */
+ return obj;
+}