Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
JsonTools.h File Reference
#include <vector>
#include <string>
#include "Utilities/interface/json.h"

Go to the source code of this file.

Namespaces

 ic
 

Functions

Json::Value ic::ExtractJsonFromFile (std::string const &file)
 Extracts a Json::Value from the specified input file. More...
 
Json::Value ic::ExtractJsonFromString (std::string const &str)
 Extracts a Json::Value from the given input string. More...
 
Json::Value ic::ExtractJsonFromFlatString (std::string const &str)
 Extracts a Json::Value from the given input string. More...
 
void ic::UpdateJson (Json::Value &a, Json::Value const &b)
 Updates the values in one json from the values in another. More...
 
Json::Value ic::MergedJson (int argc, char *argv[])
 Create a single merged Json::Value from a mixture of json files and json-formatted strings. More...
 
Json::Value ic::MergedJson (std::vector< std::string > const &vec)
 Create a single merged Json::Value from a mixture of json files and json-formatted strings. More...