#include #include #include "json.hpp" namespace fs = std::filesystem; static std::fstream stream; extern bool OpenFile(fs::path path); extern nlohmann::json GetData(); /// Note we have a specific function for json for pretty printing purpose bool SaveJsonFile(fs::path path, nlohmann::json j); // bool SaveFile(fs::path path, void *dataToSave); // Leaving it commented out until later inline void CloseFileStream() { stream.close(); }