JsonCpp project page JsonCpp home page

Classes | Namespaces | Functions

include/json/writer.h File Reference

#include "value.h"
#include <vector>
#include <string>
#include <ostream>
Include dependency graph for writer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Json::StreamWriter
 Usage: More...
class  Json::StreamWriter::Factory
 A simple abstract factory. More...
class  Json::StreamWriterBuilder
 Build a StreamWriter implementation. More...
class  Json::Writer
 Abstract class for writers. More...
class  Json::FastWriter
 Outputs a Value in JSON format without formatting (not human friendly). More...
class  Json::StyledWriter
 Writes a Value in JSON format in a human friendly way. More...
class  Json::StyledStreamWriter
 Writes a Value in JSON format in a human friendly way, to a stream rather than to a string. More...

Namespaces

namespace  Json
 

JSON (JavaScript Object Notation).


Functions

std::string Json::writeString (StreamWriter::Factory const &factory, Value const &root)
 Write into stringstream, then return string, for convenience.
std::string Json::valueToString (Int value)
std::string Json::valueToString (UInt value)
std::string Json::valueToString (LargestInt value)
std::string Json::valueToString (LargestUInt value)
std::string Json::valueToString (double value)
std::string Json::valueToString (bool value)
std::string Json::valueToQuotedString (const char *value)
std::ostream & Json::operator<< (std::ostream &, const Value &root)
 Output using the StyledStreamWriter.