aboutsummaryrefslogtreecommitdiff
path: root/test/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/main.c')
-rw-r--r--test/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/main.c b/test/main.c
index 63ff521..3a44129 100644
--- a/test/main.c
+++ b/test/main.c
@@ -47,7 +47,7 @@ int main(int argn, char **argv)
// start timer
gettimeofday(&t1, NULL);
-#define PATH "/home/spacekookie/Downloads/generated.json"
+#define PATH "/home/spacekookie/Downloads/MOCK_DATA.json"
/* Open the file and seek through it for length */
FILE *f = fopen(PATH, "r");
@@ -61,6 +61,10 @@ int main(int argn, char **argv)
fread(json, file_size, 1, f);
fclose(f);
+// char *json = "{ \"some_key\": \"some_value\" }";
+
+ printf("Raw json data. %s", json);
+
dtree *recov;
dtree_decode_json(&recov, json, file_size);