JsonCpp project page Classes Namespace JsonCpp home page

writer.h File Reference
#include "value.h"
#include <ostream>
#include <string>
#include <vector>

Classes

class  Json::StreamWriter
 Usage: More...
 
class  Json::StreamWriter::Factory
 A simple abstract factory. More...
 
class  Json::StreamWriterBuilder
 Build a StreamWriter implementation. More...
 

Namespaces

 Json
 JSON (JavaScript Object Notation).
 

Functions

String Json::writeString (StreamWriter::Factory const &factory, Value const &root)
 Write into stringstream, then return string, for convenience. More...
 
class Json::__declspec (deprecated("Use StreamWriter instead")) Writer
 Abstract class for writers. More...
 
class __declspec(deprecated("Use StreamWriterBuilder instead")) FastWriter class __declspec(deprecated("Use StreamWriterBuilder instead")) StyledWriter class Json::__declspec (deprecated("Use StreamWriterBuilder instead")) StyledStreamWriter
 Outputs a Value in JSON format without formatting (not human friendly). More...
 
String Json::valueToString (Int value)
 
String Json::valueToString (UInt value)
 
String Json::valueToString (LargestInt value)
 
String Json::valueToString (LargestUInt value)
 
String Json::valueToString (double value, unsigned int precision=Value::defaultRealPrecision, PrecisionType precisionType=PrecisionType::significantDigits)
 
String Json::valueToString (bool value)
 
String Json::valueToQuotedString (const char *value)
 
OStream & Json::operator<< (OStream &, const Value &root)
 Output using the StyledStreamWriter. More...