1 #ifndef CombineTools_JsonTools_h
2 #define CombineTools_JsonTools_h
6 #include "CombineHarvester/CombineTools/interface/json.h"
33 void UpdateJson(Json::Value& a, Json::Value
const& b);
50 Json::Value
MergedJson(
int argc,
char* argv[]);
62 Json::Value
MergedJson(std::vector<std::string>
const& vec);
Json::Value ExtractJsonFromString(std::string const &str)
Extracts a Json::Value from the given input string.
void UpdateJson(Json::Value &a, Json::Value const &b)
Updates the values in one json from the values in another.
Json::Value MergedJson(int argc, char *argv[])
Create a single merged Json::Value from a mixture of json files and json-formatted strings.
Json::Value ExtractJsonFromFile(std::string const &file)
Extracts a Json::Value from the specified input file.