AnyCollect  1.1.2
Config.h File Reference
#include <iostream>
#include <string_view>
#include <json.hpp>
Include dependency graph for Config.h:
This graph shows which files directly or indirectly include this file:

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 >
AnyCollect::getValue (const nlohmann::json &j, const K &key) noexcept
 Parse a JSON value of specified type from a JSON dictionary. More...