Repo-Init
 
Loading...
Searching...
No Matches
ConfigParser.cpp File Reference
#include "utils/ConfigParser.hpp"
#include <rapidjson/document.h>
#include <rapidjson/istreamwrapper.h>
#include <rapidjson/ostreamwrapper.h>
#include <rapidjson/writer.h>
#include <fstream>
Include dependency graph for ConfigParser.cpp:

Go to the source code of this file.

Functions

template<typename T >
std::string stringifyRapidjson (const T &obj)
 

Function Documentation

◆ stringifyRapidjson()

template<typename T >
std::string stringifyRapidjson ( const T & obj)

Definition at line 10 of file ConfigParser.cpp.

11{
12 rapidjson::StringBuffer sbuffer;
13 rapidjson::Writer<rapidjson::StringBuffer> writer(sbuffer);
14 obj.Accept(writer);
15 return sbuffer.GetString();
16}
Here is the caller graph for this function: