#include <JSONSerializer.h>
Public Member Functions | |
JSONSerializer () | |
virtual | ~JSONSerializer () |
Static Public Member Functions | |
static bool | deserialize (JsonSerializable *pObj, std::string &input) |
static bool | serialize (JsonSerializable *pObj, std::string &output) |
Definition at line 16 of file JSONSerializer.h.
jsoncollector::JSONSerializer::JSONSerializer | ( | ) |
|
virtual |
|
static |
Deserializes input from a string to the JsonSerializable object
Definition at line 26 of file JSONSerializer.cc.
References cms::cuda::assert(), jsoncollector::JsonSerializable::deserialize(), input, and DQM::reader.
Referenced by jsoncollector::DataPointDefinition::getDataPointDefinitionFor().
|
static |
Serializes a JsonSerializable object to output string
Definition at line 14 of file JSONSerializer.cc.
References cms::cuda::assert(), convertSQLitetoXML_cfg::output, jsoncollector::JsonSerializable::serialize(), and cscNeutronWriter_cfi::writer.
Referenced by evf::EvFOutputJSONWriter::EvFOutputJSONWriter(), and evf::GlobalEvFOutputJSONDef::GlobalEvFOutputJSONDef().