1 #ifndef __JSON__JCOMPARATOR__
2 #define __JSON__JCOMPARATOR__
15 namespace JPP {
using namespace JSON; }
53 if (pos != string::npos) {
54 return (*
this)(ja[key.substr(0,pos)], ja[key.substr(0,pos)], key.substr(pos + 1));
55 }
else if (key !=
"") {
56 return json::diff(ja[key], jb[key]);
58 return json::diff(ja, jb);
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary classes and methods for detector calibration.
Auxiliary data structure to compare (part of) JSon data.
json operator()(const json &ja, const json &jb, const std::string &key) const
Auxiliary method to compare (part of) JSon data.
JComparator()
Defaut constructor.