JsonWriter Class Reference

#include <ArmarXGui/libraries/StructuralJson/JsonWriter.h>

Public Member Functions

void endArray ()
 
void endObject ()
 
bool isId (const std::string &str)
 
 JsonWriter (int indenting=0, const std::string &indentChars=" ", bool jsStyleKeys=false)
 
void startArray ()
 
void startObject ()
 
std::string toString ()
 
void writeKey (const std::string &key)
 
void writeRawValue (const std::string &value)
 

Static Public Member Functions

static std::string Escape (const std::string &str)
 
static std::string EscapeQuote (const std::string &str)
 
static bool IsControlChar (char c)
 

Constructor & Destructor Documentation

◆ JsonWriter()

JsonWriter ( int indenting = 0,
const std::string & indentChars = "  ",
bool jsStyleKeys = false )

Member Function Documentation

◆ endArray()

void endArray ( )

◆ endObject()

void endObject ( )

◆ Escape()

std::string Escape ( const std::string & str)
static

◆ EscapeQuote()

std::string EscapeQuote ( const std::string & str)
static

◆ IsControlChar()

static bool IsControlChar ( char c)
inlinestatic

◆ isId()

bool isId ( const std::string & str)

◆ startArray()

void startArray ( )

◆ startObject()

void startObject ( )

◆ toString()

std::string toString ( )

◆ writeKey()

void writeKey ( const std::string & key)

◆ writeRawValue()

void writeRawValue ( const std::string & value)

The documentation for this class was generated from the following files: