Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
json_validation.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <nlohmann/json-schema.hpp>
4
#include <nlohmann/json.hpp>
5
6
nlohmann::json
import_json
(std::string file_path);
7
bool
json_matches_schema
(
const
nlohmann::json &json_object,
const
nlohmann::json &schema);
8
9
10
11
import_json
nlohmann::json import_json(std::string file_path)
Definition:
json_validation.cpp:6
json_matches_schema
bool json_matches_schema(const nlohmann::json &json_object, const nlohmann::json &schema)
Definition:
json_validation.cpp:11
include
jsonvalidation
json_validation.hpp
Generated on Sun Dec 29 2024 02:10:05 for Xiangiqgame by
1.9.6