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