JsonCpp project page | JsonCpp home page |
Outputs a Value in JSON format without formatting (not human friendly). More...
#include </home/adriano/src/rpm/BUILD/jsoncpp-0.10.5/include/json/writer.h>
Public Member Functions | |
FastWriter () | |
virtual | ~FastWriter () |
void | enableYAMLCompatibility () |
virtual std::string | write (const Value &root) |
![]() | |
virtual | ~Writer () |
Outputs a Value in JSON format without formatting (not human friendly).
The JSON document is written in a single line. It is not intended for 'human' consumption, but may be usefull to support feature such as RPC where bandwith is limited.
Json::FastWriter::FastWriter | ( | ) |
Definition at line 290 of file json_writer.cpp.
void Json::FastWriter::enableYAMLCompatibility | ( | ) |
Definition at line 293 of file json_writer.cpp.
|
virtual |
Implements Json::Writer.
Definition at line 295 of file json_writer.cpp.
References Json::arrayValue, Json::Value::asBool(), Json::Value::asDouble(), Json::Value::asLargestInt(), Json::Value::asLargestUInt(), Json::booleanValue, Json::Value::getMemberNames(), Json::Value::getString(), Json::intValue, Json::nullValue, Json::objectValue, Json::realValue, Json::Value::size(), Json::stringValue, Json::Value::type(), Json::uintValue, Json::valueToQuotedStringN(), and Json::valueToString().