ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
Loading...
Searching...
No Matches
JsonValidation.hpp File Reference
#include <initializer_list>
#include <set>
#include <stdexcept>
#include <string>
#include <nlohmann/json.hpp>

Go to the source code of this file.

Namespaces

namespace  ppforest2
 

Functions

void ppforest2::validate_json_keys (nlohmann::json const &j, std::string const &context, std::initializer_list< std::string > allowed)
 Validate that a JSON object contains only expected keys.