Added adapted example json script; small bugfix

This commit is contained in:
2025-02-24 15:12:54 +01:00
parent 3396d810a2
commit 62e3c27ba4
2 changed files with 913 additions and 1 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ std::string readAbsoluteFilename(json_t* object) {
json_string(json_object_by_path(object, {"Filename"}));
return homebase + "/" + relative_path_to_homebase + "/" + filename;
} else if (path_type == "AbsolutPath") {
} else if (path_type == "AbsolutePath") {
std::string absolute_path =
json_string(json_object_by_path(object, {"AbsoluteFolderPath"}));
std::string filename =