summaryrefslogtreecommitdiff
path: root/libs/json.h
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2021-09-01 18:45:53 +0100
committerrafa_99 <raroma09@gmail.com>2021-09-01 18:45:53 +0100
commit99df106665a51925c4f918bf8990c7899c0c0216 (patch)
treea1b51f8837b931d04aa585062453e94d005c2e7d /libs/json.h
parente78400340219923af5c4f6ff3c55b5956cb6223a (diff)
Refactored Navigation Algorithm
Diffstat (limited to 'libs/json.h')
-rw-r--r--libs/json.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/json.h b/libs/json.h
index 149176d..7c3cf05 100644
--- a/libs/json.h
+++ b/libs/json.h
@@ -1,8 +1,10 @@
#pragma once
#include <json-c/json.h>
#include "../include/video.h"
+#define MAXLENGTH 256
json_object* jsonParseString(char* stringedJSON);
+json_object* objectPathNavigator(json_object* object, char path[][MAXLENGTH], int depth);
json_object* navigateToVideos(json_object* jsonRoot);
int videoCounter(json_object* contents);
Video* generateVideos(json_object* contents);