#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 15 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 jsoncollector::JsonSerializable::deserialize(), NULL, Json::Reader::parse(), and matplotRender::reader.
Referenced by jsoncollector::ObjectMerger::getDataPointDefinitionFor().
|
static |
Serializes a JsonSerializable object to output string
Definition at line 13 of file JSONSerializer.cc.
References NULL, jsoncollector::JsonSerializable::serialize(), and Json::StyledWriter::write().
Referenced by jsoncollector::FastMonitor::outputFullHistoDataPoint().