17 lines
272 B
C++
17 lines
272 B
C++
#pragma once
|
|
|
|
#include "jsoncpp/json/json.h"
|
|
|
|
namespace dynasty {
|
|
namespace io {
|
|
class JsonIO {
|
|
public:
|
|
static Json::Value LoadJson(const std::string &model_file_path);
|
|
|
|
static void SaveJson(Json::Value const &root, const std::string &model_file_path);
|
|
};
|
|
}
|
|
}
|
|
|
|
|