Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
JsonTools.cc File Reference
#include "Utilities/interface/JsonTools.h"
#include <iostream>
#include <fstream>
#include <string>
#include <ctype.h>
#include "boost/algorithm/string.hpp"
#include "boost/lexical_cast.hpp"

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...