Xiangiqgame
AI engine for Xiangqi
|
#include <nlohmann/json-schema.hpp>
#include <nlohmann/json.hpp>
Go to the source code of this file.
Functions | |
nlohmann::json | import_json (std::string file_path) |
bool | json_matches_schema (const nlohmann::json &json_object, 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 & | json_object, |
const nlohmann::json & | schema | ||
) |
Definition at line 11 of file json_validation.cpp.