JSON document.
More...
#include "JSON.h"
◆ JsonDocument() [1/3]
ot::JsonDocument::JsonDocument |
( |
| ) |
|
|
inline |
Constructor Set the document as object.
◆ JsonDocument() [2/3]
ot::JsonDocument::JsonDocument |
( |
rapidjson::Type | _type | ) |
|
|
inline |
Constructor.
- Parameters
-
_type | The type for the json document |
◆ JsonDocument() [3/3]
◆ ~JsonDocument()
virtual ot::JsonDocument::~JsonDocument |
( |
| ) |
|
|
inlinevirtual |
◆ constRef()
const JsonDocument & ot::JsonDocument::constRef |
( |
void | | ) |
const |
|
inline |
◆ fromJson() [1/2]
bool ot::JsonDocument::fromJson |
( |
const char * | _fromJson | ) |
|
|
inline |
◆ fromJson() [2/2]
bool ot::JsonDocument::fromJson |
( |
const std::string & | _json | ) |
|
|
inline |
◆ GetConstObject()
◆ toJson()
std::string ot::JsonDocument::toJson |
( |
void | | ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- Libraries/OTCore/include/OTCore/JSON.h