AnyCollect
1.1.2
|
#include <iostream>
#include <string_view>
#include <json.hpp>
Go to the source code of this file.
Classes | |
struct | AnyCollect::Config |
Struct used to represent the JSON configuration file. More... | |
struct | AnyCollect::Config::expression |
struct | AnyCollect::Config::expression::metric |
struct | AnyCollect::Config::file |
struct | AnyCollect::Config::command |
Namespaces | |
AnyCollect | |
Functions | |
void | AnyCollect::from_json (const nlohmann::json &j, Config &c) noexcept |
Converts a json object into a Config object. More... | |
template<typename T , typename K > | |
T | AnyCollect::getValue (const nlohmann::json &j, const K &key) noexcept |
Parse a JSON value of specified type from a JSON dictionary. More... | |