class
DocumentsMultiple document hold a list of database documents.
Contents
- Reference
Base classes
- class JSONBase
- Base class to interact with JSON serialization library.
Public functions
- auto deserialize(const std::string& s) override -> bool virtual
- auto deserialize(const rapidjson::Value& obj) override -> bool virtual
- Serialize JSON writer helper.
- auto serialize(rapidjson::Writer<rapidjson::StringBuffer>* writer) const override -> bool virtual
- auto serialize() const override -> std::string virtual
- Serialize JSON writer helper.
Function documentation
bool piac:: Documents:: deserialize(const std::string& s) override virtual
Parameters | |
---|---|
s in | String containing multiple JSON formatted documents |
Returns | True if no error occurred |
bool piac:: Documents:: serialize(rapidjson::Writer<rapidjson::StringBuffer>* writer) const override virtual
Parameters | |
---|---|
writer in | Pointer to rapidjson write object to write object to |
Returns | True if no error occurred |
std::string piac:: Documents:: serialize() const override virtual
Serialize JSON writer helper.
Returns | Serialized JSON data |
---|