Xiangiqgame
AI engine for Xiangqi
|
#include <jsonvalidation/json_validation.hpp>
#include <fstream>
#include <iostream>
#include <string>
Go to the source code of this file.
Functions | |
nlohmann::json | import_json (std::string file_path) |
bool | json_matches_schema (const nlohmann::json &imported_data, const nlohmann::json &schema) |
nlohmann::json import_json | ( | std::string | file_path | ) |
Definition at line 6 of file json_validation.cpp.
bool json_matches_schema | ( | const nlohmann::json & | imported_data, |
const nlohmann::json & | schema | ||
) |
Definition at line 11 of file json_validation.cpp.