Go to the source code of this file.
Functions | |
| static void | loader (const json_uri &uri, json &schema) |
| static std::string | base64_decode (const std::string &in) |
| static void | content (const std::string &contentEncoding, const std::string &contentMediaType, const json &instance) |
| int | main (void) |
|
static |
Definition at line 44 of file json-schema-test.cpp.
Referenced by content().
|
static |
Definition at line 71 of file json-schema-test.cpp.
References base64_decode().
Referenced by main().
Definition at line 19 of file json-schema-test.cpp.
References nlohmann::json_schema::draft7_schema_builtin, nlohmann::json_uri::location(), nlohmann::json_uri::path(), and nlohmann::json_uri::url().
Referenced by main().
| int main | ( | void | ) |
Definition at line 86 of file json-schema-test.cpp.
References content(), nlohmann::json_schema::default_string_format_check(), nlohmann::json_schema::json_validator::json_validator(), loader(), nlohmann::json_schema::json_validator::set_root_schema(), and nlohmann::json_schema::json_validator::validate().