CMS 3D CMS Logo

Classes | Namespaces | Functions
writer.h File Reference
#include "value.h"
#include <vector>
#include <string>
#include <iostream>

Go to the source code of this file.

Classes

class  jsoncollector::Json::FastWriter
 Outputs a Value in JSON format without formatting (not human friendly). More...
 
class  jsoncollector::Json::StyledStreamWriter
 Writes a Value in JSON format in a human friendly way, to a stream rather than to a string. More...
 
class  jsoncollector::Json::StyledWriter
 Writes a Value in JSON format in a human friendly way. More...
 
class  jsoncollector::Json::Writer
 Abstract class for writers. More...
 

Namespaces

 jsoncollector
 JSON (JavaScript Object Notation).
 
 jsoncollector::Json
 

Functions

std::ostream & jsoncollector::Json::operator<< (std::ostream &, const Value &root)
 Output using the StyledStreamWriter. More...
 
std::string jsoncollector::Json::valueToQuotedString (const char *value)
 
std::string jsoncollector::Json::valueToString (Int value)
 
std::string jsoncollector::Json::valueToString (UInt value)
 
std::string jsoncollector::Json::valueToString (double value)
 
std::string jsoncollector::Json::valueToString (bool value)