Detailed Description
A class that writes a JsonValue to an output stream.
Static Public Member Functions |
static void | Write (std::ostream *output, const JsonValue &value) |
| Write the string representation of the JsonValue to a ostream.
|
static std::string | AsString (const JsonValue &value) |
| Get the string representation of the JsonValue.
|
Member Function Documentation
string ola::web::JsonWriter::AsString |
( |
const JsonValue & |
value | ) |
|
|
static |
Get the string representation of the JsonValue.
- Parameters
-
void ola::web::JsonWriter::Write |
( |
std::ostream * |
output, |
|
|
const JsonValue & |
value |
|
) |
| |
|
static |
Write the string representation of the JsonValue to a ostream.
- Parameters
-
output | the ostream to write to |
value | the JsonValue to serialize. |
The documentation for this class was generated from the following files:
- include/ola/web/Json.h
- common/web/Json.cpp