You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
316 B

#pragma once
#include <experimental/filesystem>
#include <json.hpp>
namespace fs = std::experimental::filesystem;
class data : public json {
fs::path &get_data_path();
void create_data_directory();
fs::path get_store_path();
bool validate(const json &);
public:
data();
json process(const json &);
};