json.h File Reference
#include <cxxtools/jsonserializer.h>
#include <cxxtools/jsondeserializer.h>
#include <iostream>

Go to the source code of this file.

Classes

class  cxxtools::JsonOObject< ObjectType >
 Wrapper object to easily print serializable objects as json to a output stream. More...
class  cxxtools::JsonIOObject< ObjectType >
 Wrapper object to easily read objects as json from a input stream. More...

Namespaces

namespace  cxxtools

Functions

template<typename CharType , typename ObjectType >
std::basic_ostream< CharType > & cxxtools::operator<< (std::basic_ostream< CharType > &out, const JsonOObject< ObjectType > &object)
 The output operator for JsonOObject. It does the actual work.
template<typename ObjectType >
JsonOObject< ObjectType > cxxtools::Json (const ObjectType &object, bool beautify=false)
 Function, which creates a JsonOObject.
template<typename CharType , typename ObjectType >
std::basic_istream< CharType > & cxxtools::operator>> (std::basic_istream< CharType > &in, JsonIOObject< ObjectType > object)
 The input operator for JsonIOObject. It does the actual work.
template<typename ObjectType >
JsonIOObject< ObjectType > cxxtools::Json (ObjectType &object)
 Creates a JsonIObject with a reference to a deserializable object.