KiCad PCB EDA Suite
|
#include <json_schema_validator.h>
Public Member Functions | |
JSON_SCHEMA_VALIDATOR (const wxFileName &aSchemaFile) | |
~JSON_SCHEMA_VALIDATOR ()=default | |
nlohmann::json | Validate (const nlohmann::json &aJson, nlohmann::json_schema::error_handler &aErrorHandler, const nlohmann::json_uri &aInitialUri=nlohmann::json_uri("#")) const |
Private Attributes | |
nlohmann::json_schema::json_validator | m_validator |
Definition at line 28 of file json_schema_validator.h.
JSON_SCHEMA_VALIDATOR::JSON_SCHEMA_VALIDATOR | ( | const wxFileName & | aSchemaFile | ) |
Definition at line 28 of file json_schema_validator.cpp.
References _, dummy, and m_validator.
|
default |
nlohmann::json JSON_SCHEMA_VALIDATOR::Validate | ( | const nlohmann::json & | aJson, |
nlohmann::json_schema::error_handler & | aErrorHandler, | ||
const nlohmann::json_uri & | aInitialUri = nlohmann::json_uri("#") |
||
) | const |
Definition at line 59 of file json_schema_validator.cpp.
References m_validator.
Referenced by API_PLUGIN_CONFIG::API_PLUGIN_CONFIG().
|
private |
Definition at line 40 of file json_schema_validator.h.
Referenced by JSON_SCHEMA_VALIDATOR(), and Validate().