Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions
Json.h File Reference

Detailed Description

Basic data types used to represent elements in a JSON document.

Include dependency graph for Json.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ola::web::JsonValueVisitorInterface
 The interface for the JsonValueVisitor class. More...
 
class  ola::web::JsonValueConstVisitorInterface
 The const interface for the JsonValueVisitor class. More...
 
class  ola::web::JsonValue
 The base class for JSON values. More...
 
class  ola::web::JsonLeafValue
 A base class used to describe values which are leafs of a JSON tree. More...
 
class  ola::web::JsonString
 A string value. More...
 
class  ola::web::JsonNumber
 JsonNumber is the base class for various integer / number classes. More...
 
class  ola::web::JsonUInt
 An unsigned 32bit int value. More...
 
class  ola::web::JsonInt
 A signed 32bit int value. More...
 
class  ola::web::JsonUInt64
 An unsigned 64bit int value. More...
 
class  ola::web::JsonInt64
 A signed 64bit int value. More...
 
class  ola::web::JsonDouble
 A double value. More...
 
struct  ola::web::JsonDouble::DoubleRepresentation
 Represents a JSON double value broken down as separate components. More...
 
class  ola::web::JsonBool
 A Bool value. More...
 
class  ola::web::JsonNull
 The null value. More...
 
class  ola::web::JsonRawValue
 A raw value, useful if you want to cheat. More...
 
class  ola::web::JsonObject
 A JSON object. JSON Objects are key : value mappings, similar to dictionaries in Python. More...
 
class  ola::web::JsonArray
 An array of JSON values. Arrays in JSON can contain values of different types. More...
 
class  ola::web::JsonObjectPropertyVisitor
 A class used to visit Json values within a JsonObject. More...
 

Namespaces

 ola
 The namespace containing all OLA symbols.
 
 ola::web
 Classes to deal with web services.
 

Functions

JsonObject * ola::web::ObjectCast (JsonValue *value)
 Downcast a JsonValue to a JsonObject. More...
 
JsonArray * ola::web::ArrayCast (JsonValue *value)
 Downcast a JsonValue to a JsonArray. More...
 
std::ostream & ola::web::operator<< (std::ostream &os, const JsonString &value)
 
std::ostream & ola::web::operator<< (std::ostream &os, const JsonUInt &value)
 
std::ostream & ola::web::operator<< (std::ostream &os, const JsonInt &value)
 
std::ostream & ola::web::operator<< (std::ostream &os, const JsonUInt64 &value)
 
std::ostream & ola::web::operator<< (std::ostream &os, const JsonInt64 &value)
 
std::ostream & ola::web::operator<< (std::ostream &os, const JsonDouble &value)
 
std::ostream & ola::web::operator<< (std::ostream &os, const JsonBool &value)
 
std::ostream & ola::web::operator<< (std::ostream &os, const JsonNull &)
 
std::ostream & ola::web::operator<< (std::ostream &os, const JsonRawValue &value)
 
template<>
JsonNumber * ola::web::JsonValue::NewNumberValue< JsonDouble::DoubleRepresentation > (const JsonDouble::DoubleRepresentation &value)
 
template<>
JsonValue * ola::web::JsonValue::NewValue< std::string > (const std::string &value)
 
template<>
JsonValue * ola::web::JsonValue::NewValue< JsonDouble::DoubleRepresentation > (const JsonDouble::DoubleRepresentation &value)