CMS 3D CMS Logo

JSONSerializer.h
Go to the documentation of this file.
1 /*
2  * JSONSerializer.h
3  *
4  * Created on: Aug 2, 2012
5  * Author: aspataru
6  */
7 
8 #ifndef JSONSERIALIZER_H_
9 #define JSONSERIALIZER_H_
10 
12 
13 #include <string>
14 
15 namespace jsoncollector {
17  public:
19  virtual ~JSONSerializer();
20 
24  static bool serialize(JsonSerializable* pObj, std::string& output);
28  static bool deserialize(JsonSerializable* pObj, std::string& input);
29  };
30 } // namespace jsoncollector
31 
32 #endif /* JSONSERIALIZER_H_ */
input
static const std::string input
Definition: EdmProvDump.cc:48
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
jsoncollector::JSONSerializer::JSONSerializer
JSONSerializer()
jsoncollector::JsonSerializable
Definition: JsonSerializable.h:14
JsonSerializable.h
jsoncollector::JSONSerializer::~JSONSerializer
virtual ~JSONSerializer()
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
jsoncollector
Definition: DataPoint.h:26
jsoncollector::JSONSerializer::serialize
static bool serialize(JsonSerializable *pObj, std::string &output)
Definition: JSONSerializer.cc:14
jsoncollector::JSONSerializer::deserialize
static bool deserialize(JsonSerializable *pObj, std::string &input)
Definition: JSONSerializer.cc:26
jsoncollector::JSONSerializer
Definition: JSONSerializer.h:16