1 #ifndef ICHiggsTauTau_Utilities_JsonTools_h
2 #define ICHiggsTauTau_Utilities_JsonTools_h
6 #include "Utilities/interface/json.h"
47 void UpdateJson(Json::Value& a, Json::Value
const& b);
64 Json::Value
MergedJson(
int argc,
char* argv[]);
76 Json::Value
MergedJson(std::vector<std::string>
const& vec);
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 ExtractJsonFromFlatString(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 ExtractJsonFromString(std::string const &str)
Extracts a Json::Value from the given input string.
Json::Value ExtractJsonFromFile(std::string const &file)
Extracts a Json::Value from the specified input file.