Open Lighting Architecture
|
An array of Json values. Rather than adding JsonValue objects directly (and creating circular references, dealing with memory management etc.) we provide helper methods.
Public Member Functions | |
~JsonArray () | |
void | Append (const string &value) |
void | Append (const char *value) |
void | Append (unsigned int i) |
void | Append (int i) |
void | Append (bool value) |
void | Append () |
JsonObject * | AppendObject () |
JsonArray * | AppendArray () |
void | AppendRaw (const string &value) |
void | ToString (ostream *output, unsigned int indent) const |
Additional Inherited Members | |
Protected Member Functions inherited from ola::web::JsonValue | |
void | Indent (ostream *output, unsigned int indent) const |
Static Protected Attributes inherited from ola::web::JsonValue | |
static const unsigned int | INDENT = 2 |
ola::web::JsonArray::~JsonArray | ( | ) |
Clean up a JsonArray
|
virtual |
Write a JsonArray to a stream.
Implements ola::web::JsonValue.