Argo  1.0
A C++ library for handling JSON.
Classes | Functions
unparser.hpp File Reference

The unparser class. More...

#include <ostream>
#include "common.hpp"
#include "json.hpp"
#include "writer.hpp"

Go to the source code of this file.

Classes

class  argo::unparser
 Class to unparse json instances into JSON messages. More...
 

Functions

std::ostream & argo::operator<< (std::ostream &stream, const json &e)
 
void argo::operator<< (std::string &s, const json &e)
 

Detailed Description

The unparser class.

Definition in file unparser.hpp.

Function Documentation

ostream & argo::operator<< ( std::ostream &  stream,
const json e 
)

Write the JSON object to a stream. All output will be on one line. See below for more options.

Definition at line 226 of file unparser.cpp.

void argo::operator<< ( std::string &  s,
const json e 
)

Write the JSON object to a string. All output will be on one line. See below for more options.

Definition at line 232 of file unparser.cpp.