9#include "utils/utf8_string.h"
11#include <nlohmann/json.hpp>
13namespace zrythm::structure::project
36 fs::path project_directory;
Handles loading of Zrythm projects from disk.
static LoadResult load_from_directory(const fs::path &project_dir)
Loads and validates a project from the specified directory.
static nlohmann::json parse_and_validate(const std::string &json_str)
Parses JSON string and validates against schema.
static std::string get_uncompressed_project_text(const fs::path &project_dir)
Reads and decompresses the project file.
static utils::Utf8String extract_title(const nlohmann::json &j)
Extracts the project title from JSON metadata.
Lightweight UTF-8 string wrapper with safe conversions.
Result of a project load operation.