Essentia  2.1-beta6-dev
JsonConvert Class Reference

#include <jsonconvert.h>

Public Member Functions

 JsonConvert (const std::string &s)
 
virtual ~JsonConvert ()
 
std::string convert ()
 
std::string parseDict (const int &level=0)
 

Protected Member Functions

void skipSpaces ()
 
int countBackSlashes ()
 
std::string parseStringValue ()
 
std::string parseNumValue ()
 
std::string parseListValue ()
 
std::string parseDictKeyAndValue (const int &level)
 

Private Attributes

size_t _pos
 
std::string _str
 
std::string _result
 
size_t _size
 

Constructor & Destructor Documentation

◆ JsonConvert()

JsonConvert ( const std::string &  s)
inline

◆ ~JsonConvert()

virtual ~JsonConvert ( )
inlinevirtual

Member Function Documentation

◆ convert()

std::string convert ( )

◆ countBackSlashes()

int countBackSlashes ( )
protected

◆ parseDict()

std::string parseDict ( const int &  level = 0)

◆ parseDictKeyAndValue()

std::string parseDictKeyAndValue ( const int &  level)
protected

◆ parseListValue()

std::string parseListValue ( )
protected

◆ parseNumValue()

std::string parseNumValue ( )
protected

◆ parseStringValue()

std::string parseStringValue ( )
protected

◆ skipSpaces()

void skipSpaces ( )
protected

Member Data Documentation

◆ _pos

size_t _pos
private

◆ _result

std::string _result
private

◆ _size

size_t _size
private

◆ _str

std::string _str
private

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